Skip to content

Commit 9fdda66

Browse files
wangxiaoleeyeh
authored andcommitted
fix AV.User.currentAsync() warning (#289)
1 parent 165097d commit 9fdda66

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
@@ -977,7 +977,7 @@ module.exports = function(AV) {
977977
*/
978978
currentAsync: function() {
979979
if (AV._config.disableCurrentUser) {
980-
console.warn('AV.User.current() was disabled in multi-user environment, access user from request instead');
980+
console.warn('AV.User.currentAsync() was disabled in multi-user environment, access user from request instead');
981981
return AV.Promise.as(null);
982982
}
983983

0 commit comments

Comments
 (0)