forked from gorb/backend
fix: remove more unwraps
found more unwraps that needed to be changed to ?
This commit is contained in:
parent
d8541b2eea
commit
1cda34d16b
6 changed files with 17 additions and 14 deletions
|
@ -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?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue