fix: remove more unwraps
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

found more unwraps that needed to be changed to ?
This commit is contained in:
Radical 2025-05-26 22:26:47 +02:00
parent d8541b2eea
commit 1cda34d16b
6 changed files with 17 additions and 14 deletions

View file

@ -63,7 +63,7 @@ pub async fn get(
let amount = request_query.amount.unwrap_or(10);
check_access_token(auth_header, &mut data.pool.get().await.unwrap()).await?;
check_access_token(auth_header, &mut data.pool.get().await?).await?;
let guilds = Guild::fetch_amount(&data.pool, start, amount).await?;