From 4ffe7d7665080933115ab2d07e70ad73c4180886 Mon Sep 17 00:00:00 2001 From: Zed Date: Sun, 23 Jan 2022 14:47:13 +0100 Subject: [PATCH] Fix compilation with Nim 1.4.8 --- src/apiutils.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apiutils.nim b/src/apiutils.nim index a5a6194..fd6960f 100644 --- a/src/apiutils.nim +++ b/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: