mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-18 14:27:10 +00:00
fix: 画图画完拿结果503处理
This commit is contained in:
parent
c7a85baa4e
commit
f2f77235b1
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ export default class BingDrawClient {
|
||||||
}
|
}
|
||||||
let r = await fetch(pollingUrl, fetchOptions)
|
let r = await fetch(pollingUrl, fetchOptions)
|
||||||
let rText = await r.text()
|
let rText = await r.text()
|
||||||
if (rText) {
|
if (r.status === 200 && rText) {
|
||||||
// logger.info(rText)
|
// logger.info(rText)
|
||||||
logger.info('got bing draw results!')
|
logger.info('got bing draw results!')
|
||||||
found = true
|
found = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue