fix: sd interrupt

This commit is contained in:
pinks 2023-09-18 00:35:33 +02:00
parent 37b4f5d96a
commit 2d2ffb8588
1 changed files with 1 additions and 1 deletions

View File

@ -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 });
}
}
}