Explorar el Código

Fix compilation error

Zed hace 3 años
padre
commit
12504bcffe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/tokens.nim

+ 1 - 1
src/tokens.nim

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