You've already forked AstralRinth
forked from didirus/AstralRinth
More project type validators (#383)
This commit is contained in:
@@ -89,7 +89,7 @@ where
|
||||
.to_str()
|
||||
.map_err(|_| AuthenticationError::InvalidCredentials)?;
|
||||
|
||||
Ok(get_user_from_token(token, executor).await?)
|
||||
get_user_from_token(token, executor).await
|
||||
}
|
||||
|
||||
pub async fn check_is_moderator_from_headers<'a, 'b, E>(
|
||||
|
||||
Reference in New Issue
Block a user