Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

bugfix 空引用显示undefined - #1103

Merged
Chanzhaoyu merged 1 commit into
Chanzhaoyu:mainfrom
vchenpeng:main
Apr 3, 2023
Merged

Chanzhaoyu merged 1 commit into
Chanzhaoyu:mainfrom
vchenpeng:main

Conversation

@vchenpeng

Copy link
Copy Markdown
Contributor

当前如果返回的data.text是undefined, 此时直接做连接操作,会导致得到'undefined'字符串,不符合预期

例如,在返回Unauthorized状态时,此时会返回以下回复
undefined [Error: 无访问权限 | No access rights]

@vchenpeng

vchenpeng commented Apr 1, 2023 •

Copy link
Copy Markdown
Contributor Author

image

@Chanzhaoyu
Chanzhaoyu merged commit 5594b0b into Chanzhaoyu:main Apr 3, 2023
Equim-chan pushed a commit to Equim-chan/chatgpt-web that referenced this pull request Apr 4, 2023
Co-authored-by: peng.chen <peng.chen@freemud.com>
Kooklen pushed a commit to Kooklen/chatgpt-web that referenced this pull request Apr 7, 2023
Co-authored-by: peng.chen <peng.chen@freemud.com>
jingfelix pushed a commit to jingfelix/chatgpt-web that referenced this pull request Apr 7, 2023
Co-authored-by: peng.chen <peng.chen@freemud.com>
yinqf pushed a commit to yinqf/chatgpt-web that referenced this pull request Apr 14, 2023
Co-authored-by: peng.chen <peng.chen@freemud.com>
HalfCoke pushed a commit to HalfCoke/chatgpt-web that referenced this pull request Jul 6, 2023
Co-authored-by: peng.chen <peng.chen@freemud.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants