OAS: example payload

This commit is contained in:
realaravinth
2021-03-31 15:27:23 +05:30
parent 8aeab69303
commit 55dd3fffe5
4 changed files with 20 additions and 6 deletions

View File

@@ -138,7 +138,6 @@ impl ResponseError for ServiceError {
ServiceError::ChallengeVerificationFailure => StatusCode::UNAUTHORIZED,
ServiceError::CaptchaError(e) => match e {
CaptchaError::MailboxError => StatusCode::INTERNAL_SERVER_ERROR,
_ => StatusCode::BAD_REQUEST,
},
}