Skip to content

Commit 96d01d7

Browse files
authored
change error message from weixin to wechat
1 parent b2c9fc4 commit 96d01d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Adapters/Auth/wechat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function validateAuthData(authData) {
88
if (data.errcode == 0) {
99
return;
1010
}
11-
throw new Parse.Error(Parse.Error.OBJECT_NOT_FOUND, 'weixin auth is invalid for this user.');
11+
throw new Parse.Error(Parse.Error.OBJECT_NOT_FOUND, 'wechat auth is invalid for this user.');
1212
});
1313
}
1414

@@ -34,7 +34,7 @@ function graphRequest(path) {
3434
resolve(data);
3535
});
3636
}).on('error', function () {
37-
reject('Failed to validate this access token with weixin.');
37+
reject('Failed to validate this access token with wechat.');
3838
});
3939
});
4040
}

0 commit comments

Comments
 (0)