commit d781981bbdbe78ef34850b5b3359e38b714d29de
parent 5125fdb88203c83aae75bbb2c5d94c15e9c5a085
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;