Skip to content

Commit

Permalink
Update Auth.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dblythy committed Jan 29, 2025
1 parent 70783d1 commit 2aeaf9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const getAuthForSessionToken = async function ({
const userJSON = await cacheController.user.get(sessionToken);
if (userJSON) {
const cachedUser = Parse.Object.fromJSON(userJSON);
renewSessionIfNeeded({ config, sessionToken });
return Promise.resolve(
new Auth({
config,
Expand Down

0 comments on commit 2aeaf9a

Please sign in to comment.