diff --git a/app/store/sd.ts b/app/store/sd.ts index d40c53a85..bf3e6450c 100644 --- a/app/store/sd.ts +++ b/app/store/sd.ts @@ -67,8 +67,8 @@ export const useSdStore = createPersistStore< this.getNextId(); return; } + const self = this; if (resData.finish_reason === "SUCCESS") { - const self = this; uploadImage(base64Image2Blob(resData.image, "image/png")) .then((img_data) => { console.debug("uploadImage success", img_data, self);