Fix compilation error

This commit is contained in:
Zed 2023-08-21 18:12:06 +02:00 committed by GitHub
parent c3d9441370
commit 12504bcffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: