put a basic UA in there

This commit is contained in:
drpepper66 2023-11-17 23:20:01 +01:00
parent 8f3b5cafd1
commit e3b7d6d571
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ proc updateAccountPool*(cfg: Config) {.async.} =
if accountPool.len == 0:
log "fetching more accounts from service"
let client = newAsyncHttpClient()
let client = newAsyncHttpClient("nitter-accounts")
try:
let resp = await client.get($(cfg.guestAccountsPoolUrl ? {"id": cfg.guestAccountsPoolId, "auth": cfg.guestAccountsPoolAuth}))