diff --git a/src/result/auth_result.rs b/src/result/auth_result.rs index bed279f..bbfbe56 100644 --- a/src/result/auth_result.rs +++ b/src/result/auth_result.rs @@ -58,7 +58,7 @@ error, or delegates to another error type. This type is best used with [`AuthRes #[derive(Debug, ResourceError)] pub enum AuthErrorOrOther { - #[status(UNAUTHORIZED)] + #[status(FORBIDDEN)] #[display("Forbidden")] Forbidden, #[display("{0}")]