Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
zedeus committed Aug 21, 2023
1 parent c3d9441 commit 12504bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tokens.nim
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ proc isLimited(account: GuestAccount; api: Api): bool =

if limit.limited and (epochTime().int - limit.limitedAt) > dayInSeconds:
account.apis[api].limited = false
log "resetting limit, api: ", api, ", id: ", account.id
log "resetting limit, api: " & $api & ", id: " & $account.id

return limit.limited or (limit.remaining <= 10 and limit.reset > epochTime().int)
else:
Expand Down

0 comments on commit 12504bc

Please sign in to comment.