From b1be688ef277316aeb99877d8036f4b98235a9b3 Mon Sep 17 00:00:00 2001 From: "hyperswitch-bot[bot]" <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 11:53:55 +0000 Subject: [PATCH] chore: run formatter --- crates/diesel_models/src/query/role.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/crates/diesel_models/src/query/role.rs b/crates/diesel_models/src/query/role.rs index bfe957f6b132..7d49ab5d64e2 100644 --- a/crates/diesel_models/src/query/role.rs +++ b/crates/diesel_models/src/query/role.rs @@ -1,7 +1,3 @@ -use crate::{ - enums::RoleScope, errors, query::generics, role::*, schema::roles::dsl, PgPooledConn, - StorageResult, -}; use async_bb8_diesel::AsyncRunQueryDsl; use common_enums::EntityType; use common_utils::id_type; @@ -12,6 +8,11 @@ use diesel::{ use error_stack::{report, ResultExt}; use strum::IntoEnumIterator; +use crate::{ + enums::RoleScope, errors, query::generics, role::*, schema::roles::dsl, PgPooledConn, + StorageResult, +}; + impl RoleNew { pub async fn insert(self, conn: &PgPooledConn) -> StorageResult { generics::generic_insert(conn, self).await