rename query parameters for consistency -- requires changes in twitterminator anyway

This commit is contained in:
drpepper66 2023-11-17 20:09:10 +01:00
parent 08604ac8d1
commit 98cc15e78c
1 changed files with 1 additions and 1 deletions

View File

@ -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