From c511789056550ca19bdf5f07c5d9e5d04fdf1e85 Mon Sep 17 00:00:00 2001 From: BennyKok Date: Sun, 17 Dec 2023 01:41:49 +0800 Subject: [PATCH] fix: typo --- web-plugin/index.js | 4 ++-- web/src/server/createRun.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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", }; }, );