forked from pinks/eris
1
0
Fork 0

interrupt call should be POST

This commit is contained in:
pinks 2023-09-14 03:21:40 +02:00
parent 0cf9dcad04
commit ee4c2091f0
1 changed files with 1 additions and 1 deletions

View File

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