Skip to content

Commit

Permalink
(BIDS-2872) wip
Browse files Browse the repository at this point in the history
  • Loading branch information
guybrush committed Feb 15, 2024
1 parent 5cadd95 commit eb828a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ratelimit/ratelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ func DBUpdateApiRatelimits() (sql.Result, error) {
select
user_id,
case when min(second) = 0 then 0 else max(second) end as second,
case when min(hour) = 0 then 0 else max(hour) end as hour,
case when min(hour) = 0 then 0 else max(hour) end as hour,
case when min(month) = 0 then 0 else max(month) end as month,
to_timestamp('9999-12-31 23:59:59', 'YYYY-MM-DD HH24:MI:SS') as valid_until,
now() as changed_at
Expand Down

0 comments on commit eb828a6

Please sign in to comment.