Skip to content

Commit

Permalink
refactor: use same datetime instance
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorhugods committed Nov 7, 2023
1 parent b7ec2b6 commit bce6394
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ internal class UserDataSource internal constructor(
fetchUserInfo(userId).also {
kaliumLogger.d("Federated user, refreshing user info from API after $USER_DETAILS_MAX_AGE")
}
userDetailsRefreshInstantCache[userId] = DateTimeUtil.currentInstant()
userDetailsRefreshInstantCache[userId] = now
}
}

Expand Down

0 comments on commit bce6394

Please sign in to comment.