fix: typo

This commit is contained in:
BennyKok
2023-12-17 01:41:58 +08:00
parent f7f9da7f68
commit c511789056
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -304,8 +304,8 @@ export class ConfigDialog extends ComfyDialog {
} }
save() { save() {
const endpoint = this.textElement.querySelector("#endpoint").value; const endpoint = this.container.querySelector("#endpoint").value;
const apiKey = this.textElement.querySelector("#apiKey").value; const apiKey = this.container.querySelector("#apiKey").value;
localStorage.setItem("endpoint", endpoint); localStorage.setItem("endpoint", endpoint);
localStorage.setItem("apiKey", apiKey); localStorage.setItem("apiKey", apiKey);
this.close(); this.close();
+1 -1
View File
@@ -100,7 +100,7 @@ export const createRun = withServerPromise(
return { return {
workflow_run_id: workflow_run[0].id, workflow_run_id: workflow_run[0].id,
message: "Successfully workflow run", message: "Successful workflow run",
}; };
}, },
); );