Skip to content

Commit 5c22872

Browse files
authored
Merge pull request #618 from sdjdd/master
docs: make authInfo optionally
2 parents 1bb54be + 177e49f commit 5c22872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ module.exports = function(AV) {
230230
/**
231231
* Associate the user with the identity of the current mini-app.
232232
* @since 4.6.0
233-
* @param {Object} authInfo
233+
* @param {Object} [authInfo]
234234
* @param {Object} [option]
235235
* @param {Boolean} [option.failOnNotExist] If true, the login request will fail when no user matches this authInfo.authData exists.
236236
* @return {Promise<AV.User>}

0 commit comments

Comments
 (0)