From e2eb9b0fcc497e918b9030ad2d391f2f2f8ed795 Mon Sep 17 00:00:00 2001 From: Dominic Date: Fri, 8 May 2020 22:54:54 +0200 Subject: [PATCH] fix --- src/result/auth_result.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}")]