mirror of
https://github.com/zedeus/nitter.git
synced 2026-01-24 20:32:49 -05:00
Fix compilation with Nim 1.4.8
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user