Skip to content

Commit dcd23fb

Browse files
committed
fix(User): correct an unexpected call of setItem with null as the key
1 parent cf3c8ec commit dcd23fb

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
@@ -840,7 +840,7 @@ module.exports = function(AV) {
840840
AV.User._currentUser = null;
841841
return AV.localStorage.removeItemAsync(
842842
AV._getAVPath(AV.User._CURRENT_USER_KEY)
843-
).then(AV._refreshSubscriptionId);
843+
).then(() => AV._refreshSubscriptionId());
844844
},
845845

846846
/**

0 commit comments

Comments
 (0)