formatting

This commit is contained in:
Daniel García 2022-01-30 22:03:27 +01:00
parent 2b75d81a8b
commit 2ff51ae77e
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A

View file

@ -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;