fix: 画图画完拿结果503处理

This commit is contained in:
ikechan8370 2023-05-30 16:29:08 +08:00
parent c7a85baa4e
commit f2f77235b1

View file

@ -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