From 98cc15e78cb826572c08e558e0ed39088a4fac75 Mon Sep 17 00:00:00 2001 From: drpepper66 Date: Fri, 17 Nov 2023 20:09:10 +0100 Subject: [PATCH] rename query parameters for consistency -- requires changes in twitterminator anyway --- src/auth.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.nim b/src/auth.nim index 1e8f45b..f8210b8 100644 --- a/src/auth.nim +++ b/src/auth.nim @@ -216,7 +216,7 @@ proc updateAccountPool*(cfg: Config) {.async.} = log "fetching more accounts from service" pool.use(newHttpHeaders()): - let resp = await c.get("$1?host=$2&key=$3" % [cfg.guestAccountsPoolUrl, cfg.guestAccountsPoolId, cfg.guestAccountsPoolAuth]) + let resp = await c.get("$1?id=$2&auth=$3" % [cfg.guestAccountsPoolUrl, cfg.guestAccountsPoolId, cfg.guestAccountsPoolAuth]) let guestAccounts = await resp.body log "status code from service: ", resp.status