Browse Source

Fix compilation with Nim 1.4.8

Zed 4 năm trước cách đây
mục cha
commit
4ffe7d7665
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: