From 0c085d21ce66425ce0c41a81ecbc8d9119e64623 Mon Sep 17 00:00:00 2001 From: Nikolay Nikolaev Date: Thu, 30 Mar 2023 16:04:35 +0300 Subject: [PATCH] fmt --- src/api/admin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/admin.rs b/src/api/admin.rs index 9c3be7d8..7034274a 100644 --- a/src/api/admin.rs +++ b/src/api/admin.rs @@ -438,7 +438,7 @@ async fn remove_2fa(uuid: String, _token: AdminToken, mut conn: DbConn) -> Empty #[post("/users//invite/resend")] async fn resend_user_invite(uuid: String, _token: AdminToken, mut conn: DbConn) -> EmptyResult { - if let Some(user) = User::find_by_uuid(&uuid,&mut conn).await { + if let Some(user) = User::find_by_uuid(&uuid, &mut conn).await { if CONFIG.mail_enabled() { mail::send_invite(&user.email, &user.uuid, None, None, &CONFIG.invitation_org_name(), None).await } else {