From 2d2ffb85889d6eadd20403d43b6173aa159ac674 Mon Sep 17 00:00:00 2001 From: pinks Date: Mon, 18 Sep 2023 00:35:33 +0200 Subject: [PATCH] fix: sd interrupt --- common/sdApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/sdApi.ts b/common/sdApi.ts index 6b5120d..175168b 100644 --- a/common/sdApi.ts +++ b/common/sdApi.ts @@ -155,7 +155,7 @@ export async function sdImg2Img( } } 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 }); } } }