Skip to content

Commit 36bdc72

Browse files
committed
(BIDS-2872) wip
1 parent a0091d0 commit 36bdc72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ratelimit/ratelimit.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ func DBInvalidateApiKeys() (sql.Result, error) {
10241024
return db.FrontendWriterDB.Exec(`
10251025
update api_keys
10261026
set changed_at = now(), valid_until = now()
1027-
where valid_until > now() and not exists (select api_key from users where id = api_keys.user_id)`)
1027+
where valid_until > now() and not exists (select id from users where id = api_keys.user_id)`)
10281028
}
10291029

10301030
func DBUpdateApiKeys() (sql.Result, error) {

0 commit comments

Comments
 (0)