Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix 空引用显示undefined #1103

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Conversation

vchenpeng
Copy link
Contributor

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

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

@vchenpeng
Copy link
Contributor Author

vchenpeng commented Apr 1, 2023

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>
Herobrine-ymf pushed a commit to Herobrine-ymf/chatgpt-web that referenced this pull request Apr 5, 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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants