From ee4c2091f0852b0efb53622fd6fa32c07acbedc4 Mon Sep 17 00:00:00 2001 From: pinks Date: Thu, 14 Sep 2023 03:21:40 +0200 Subject: [PATCH] interrupt call should be POST --- common/sdApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/sdApi.ts b/common/sdApi.ts index 56d10a6..6b5120d 100644 --- a/common/sdApi.ts +++ b/common/sdApi.ts @@ -110,7 +110,7 @@ export async function sdTxt2Img( } } finally { if (await AsyncX.promiseState(request) === "pending") { - await fetchSdApi(api, "sdapi/v1/interrupt", { timeoutMs: 10_000 }); + await fetchSdApi(api, "sdapi/v1/interrupt", { body: {}, timeoutMs: 10_000 }); } } }