소스 검색

Fix compilation error

Zed 3 년 전
부모
커밋
12504bcffe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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: