commit 2ff51ae77e482ef7d1e4bd892197baca166d1204
parent 2b75d81a8be14f5e0e416f6cd82c0e8aea8d07d6
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Sun, 30 Jan 2022 22:03:27 +0100
formatting
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/api/core/accounts.rs b/src/api/core/accounts.rs
@@ -664,7 +664,12 @@ fn verify_password(data: JsonUpcase<SecretVerificationRequest>, headers: Headers
Ok(())
}
-async fn _api_key(data: JsonUpcase<SecretVerificationRequest>, rotate: bool, headers: Headers, conn: DbConn) -> JsonResult {
+async fn _api_key(
+ data: JsonUpcase<SecretVerificationRequest>,
+ rotate: bool,
+ headers: Headers,
+ conn: DbConn,
+) -> JsonResult {
let data: SecretVerificationRequest = data.into_inner().data;
let mut user = headers.user;