fix: 修复对话用户问题不能为空字符串。 #512 (#556)

This commit is contained in:
shaohuzhang1 2024-05-27 16:19:28 +08:00 committed by GitHub
parent 5cbd240d1e
commit f020603e00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -500,7 +500,7 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean) {
application application
.asyncAppAuthentication(accessToken) .asyncAppAuthentication(accessToken)
.then(() => { .then(() => {
chatMessage(chat) chatMessage(chat, problem)
}) })
.catch(() => { .catch(() => {
errorWrite(chat) errorWrite(chat)