-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
fix a typo #4000
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
fix a typo #4000
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4000 +/- ##
=======================================
Coverage 90.59% 90.59%
=======================================
Files 116 116
Lines 7793 7793
=======================================
Hits 7060 7060
Misses 733 733
Continue to review full report at Codecov.
|
src/Adapters/Auth/wechat.js
Outdated
@@ -8,7 +8,7 @@ function validateAuthData(authData) { | |||
if (data.errcode == 0) { | |||
return; | |||
} | |||
throw new Parse.Error(Parse.Error.OBJECT_NOT_FOUND, 'qq auth is invalid for this user.'); | |||
throw new Parse.Error(Parse.Error.OBJECT_NOT_FOUND, 'weixin auth is invalid for this user.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or wechat?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weixin is usually used in Chinese.
Yes,wechat is better.
Codecov Report
@@ Coverage Diff @@
## master #4000 +/- ##
==========================================
- Coverage 90.59% 90.58% -0.02%
==========================================
Files 116 116
Lines 7793 7793
==========================================
- Hits 7060 7059 -1
- Misses 733 734 +1
Continue to review full report at Codecov.
|
@flovilmart I think the second check of response is unnecessary! |
Yes! Very useless :) |
it should be weixin not qq.