From bf57a6057120bd19097712ffd96290d2134b8ba2 Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Wed, 13 Mar 2024 09:17:41 +0800 Subject: [PATCH] feat: handle paging in /qa command --- server/src/bot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/bot.rs b/server/src/bot.rs index 3a24782..a9329fe 100644 --- a/server/src/bot.rs +++ b/server/src/bot.rs @@ -537,7 +537,7 @@ pub async fn answer(bot: Bot, msg: Message, cmd: Command, pool: DbPool) -> Respo let client = reqwest::Client::new(); match client .get(format!( - "https://aosc-packages.cth451.me/{}/{}/stable?type=json", + "https://aosc-packages.cth451.me/{}/{}/stable?type=json&page=all", ty, arch )) .send()