Skip to content

Commit

Permalink
fix contest / week one tag reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
owens1127 committed Jun 9, 2024
1 parent e42a51c commit 26f6ebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data-access-layer/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ export const getPlayerActivityStats = async (membershipId: bigint | string) => {
'dateCompleted', fastest.date_completed,
'duration', fastest.duration,
'platformType', fastest.platform_type,
'isDayOne', date_completed < COALESCE(contest_end, TIMESTAMP 'epoch'),
'isContest', date_completed < COALESCE(day_one_end, TIMESTAMP 'epoch'),
'isContest', date_completed < COALESCE(contest_end, TIMESTAMP 'epoch'),
'isDayOne', date_completed < COALESCE(day_one_end, TIMESTAMP 'epoch'),
'isWeekOne', date_completed < COALESCE(week_one_end, TIMESTAMP 'epoch')
)
ELSE NULL
Expand Down

0 comments on commit 26f6ebc

Please sign in to comment.