fix: remove more unwraps
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
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:
parent
d8541b2eea
commit
1cda34d16b
6 changed files with 17 additions and 14 deletions
|
@ -62,7 +62,7 @@ pub async fn create(
|
|||
|
||||
let guild_uuid = path.into_inner().0;
|
||||
|
||||
let mut conn = data.pool.get().await.unwrap();
|
||||
let mut conn = data.pool.get().await?;
|
||||
|
||||
let uuid = check_access_token(auth_header, &mut conn).await?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue