Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
augustuswm committed Oct 12, 2023
1 parent ed4965e commit 0976c6b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rfd-model/src/storage/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ use diesel::{
query_dsl::QueryDsl,
update,
upsert::{excluded, on_constraint},
ExpressionMethods, PgArrayExpressionMethods,
OptionalExtension as OptionalExtension2,
ExpressionMethods, OptionalExtension as OptionalExtension2, PgArrayExpressionMethods,
};
use std::{
collections::{BTreeMap, BTreeSet},
Expand Down Expand Up @@ -532,7 +531,9 @@ where
.offset(pagination.offset)
.limit(pagination.limit)
.order(api_user::created_at.asc())
.get_results_async::<(ApiUserModel<T>, Option<ApiUserProviderModel>)>(&*self.pool.get().await?)
.get_results_async::<(ApiUserModel<T>, Option<ApiUserProviderModel>)>(
&*self.pool.get().await?,
)
.await?;

Ok(results
Expand Down

0 comments on commit 0976c6b

Please sign in to comment.