Skip to content

Commit

Permalink
Fix cleanup of old session challenges
Browse files Browse the repository at this point in the history
  • Loading branch information
blmage committed May 1, 2024
1 parent 858cb95 commit 1f03682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mv3/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const cleanSessions = async (excludedIds = [], lastUpdatedBefore = Number.MAX_SA
.sessions
.where('lastUpdatedAt')
.below(lastUpdatedBefore)
.and(!excludedIds.includes(it.sessionId))
.and(!excludedIds.includes(_.sessionId))
.delete();
};

Expand Down

0 comments on commit 1f03682

Please sign in to comment.