Fix compilation with Nim 1.4.8
This commit is contained in:
parent
182b5ba90b
commit
4ffe7d7665
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue