Update /prompt endpoint

This commit is contained in:
space-nuko
2023-05-15 18:50:09 -05:00
parent 3070ed3676
commit 8d1ee2d8d5

View File

@@ -260,7 +260,7 @@ export default class ComfyAPI {
})
.then(async (res) => {
if (res.status != 200) {
throw await res.text()
throw await res.json()
}
return res.json()
})