mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-28 19:59:46 -05:00
fix useless conversion
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user