forked from pinks/eris
interrupt call should be POST
This commit is contained in:
parent
0cf9dcad04
commit
ee4c2091f0
|
@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue