Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
Update ferrischat_webserver/src/users/bots/get_bots_by_user.rs
Browse files Browse the repository at this point in the history
Co-authored-by: 0/0 <[email protected]>
  • Loading branch information
randomairborne and tazz4843 authored Nov 24, 2021
1 parent 92721c4 commit e930c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ferrischat_webserver/src/users/bots/get_bots_by_user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub async fn get_bots_by_user(auth: crate::Authorization) -> impl Responder {
let resp = sqlx::query!("SELECT * FROM bots WHERE owner_id = $1", bigint_user_id)
.fetch_all(db)
.await;
return match resp {
match resp {
Ok(resp) => {
let mut bots = Vec::with_capacity(resp.len());
for x in resp {
Expand Down

0 comments on commit e930c8f

Please sign in to comment.