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 450dab2 commit d9d0760
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 @@ -1046,7 +1046,7 @@ func DBUpdateApiKeys() (sql.Result, error) {
select
id as user_id,
api_key,
to_timestamp('9999-12-31 23:59:59', 'YYYY-MM-DD HH:MI:SS') as valid_until,
to_timestamp('9999-12-31 23:59:59', 'YYYY-MM-DD HH24:MI:SS') as valid_until,
now() as changed_at
from users
where api_key is not null and not exists (select user_id from api_keys where api_keys.user_id = users.id)
Expand Down

0 comments on commit d9d0760

Please sign in to comment.