Explorar o código

Fix compilation with Nim 1.4.8

Zed %!s(int64=4) %!d(string=hai) anos
pai
achega
4ffe7d7665
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/apiutils.nim

+ 1 - 1
src/apiutils.nim

@@ -61,7 +61,7 @@ template fetchImpl(result, fetchBody) {.dirty.} =
   try:
     var resp: AsyncResponse
     pool.use(genHeaders(token)):
-      resp = await c.get(url)
+      resp = await c.get($url)
       result = await resp.body
 
       if resp.status == $Http503: