fix useless conversion

This commit is contained in:
mbecker20
2023-06-18 17:55:58 +00:00
parent f5d68b4d78
commit 8a86825357

View File

@@ -109,7 +109,7 @@ impl State {
.auth_jwt_check_enabled(&jwt)
.await
.context("failed to authenticate jwt")?;
Ok(user.into())
Ok(user)
}
pub async fn auth_jwt_check_enabled(&self, jwt: &str) -> anyhow::Result<RequestUser> {