Skip to content

Commit c584760

Browse files
committed
docs(user): fix example typos
1 parent 526d67f commit c584760

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ module.exports = function(AV) {
201201
* @param {string} [unionLoginOptions.unionIdPlatform = 'weixin'] unionId platform
202202
* @param {boolean} [unionLoginOptions.asMainAccount = false]
203203
* @return {Promise<AV.User>} A promise that is fulfilled with the user when completed.
204-
* @example user.associateWithAuthData({
204+
* @example user.associateWithAuthDataAndUnionId({
205205
* openid: 'abc123',
206206
* access_token: '123abc',
207207
* expires_in: 1382686496
@@ -867,7 +867,7 @@ module.exports = function(AV) {
867867
* @param {string} [unionLoginOptions.unionIdPlatform = 'weixin'] unionId platform
868868
* @param {boolean} [unionLoginOptions.asMainAccount = false]
869869
* @return {Promise<AV.User>} A promise that is fulfilled with the user when completed.
870-
* @example user.associateWithAuthData({
870+
* @example AV.User.signUpOrlogInWithAuthDataAndUnionId({
871871
* openid: 'abc123',
872872
* access_token: '123abc',
873873
* expires_in: 1382686496

0 commit comments

Comments
 (0)