diff --git a/web-plugin/index.js b/web-plugin/index.js index bf40c93..21888f6 100644 --- a/web-plugin/index.js +++ b/web-plugin/index.js @@ -304,8 +304,8 @@ export class ConfigDialog extends ComfyDialog { } save() { - const endpoint = this.textElement.querySelector("#endpoint").value; - const apiKey = this.textElement.querySelector("#apiKey").value; + const endpoint = this.container.querySelector("#endpoint").value; + const apiKey = this.container.querySelector("#apiKey").value; localStorage.setItem("endpoint", endpoint); localStorage.setItem("apiKey", apiKey); this.close(); diff --git a/web/src/server/createRun.ts b/web/src/server/createRun.ts index 5108d03..e0c4faf 100644 --- a/web/src/server/createRun.ts +++ b/web/src/server/createRun.ts @@ -100,7 +100,7 @@ export const createRun = withServerPromise( return { workflow_run_id: workflow_run[0].id, - message: "Successfully workflow run", + message: "Successful workflow run", }; }, );