Skip to content

Commit

Permalink
refactor: remove redundant import
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Mar 19, 2024
1 parent ec573b4 commit a5d0490
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions astroplant-api/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ pub async fn fut_user_permission_or_forbidden(
object_username: String,
action: crate::authorization::UserAction,
) -> Result<(Option<crate::models::User>, crate::models::User), Problem> {
use diesel::Connection;

let conn = pg.get().await?;
conn.interact(move |conn| {
conn.transaction(|conn| {
Expand Down

0 comments on commit a5d0490

Please sign in to comment.