refactor(users): Use domain email type in user DB functions (#6699)

This commit is contained in:
Mani Chandra
2024-11-29 18:42:09 +05:30
committed by GitHub
parent 96393ff3d6
commit 55fe82fdcd
12 changed files with 68 additions and 67 deletions

View File

@ -444,7 +444,8 @@ impl From<errors::ApiErrorResponse> for StripeErrorCode {
| errors::ApiErrorResponse::GenericUnauthorized { .. }
| errors::ApiErrorResponse::AccessForbidden { .. }
| errors::ApiErrorResponse::InvalidCookie
| errors::ApiErrorResponse::InvalidEphemeralKey => Self::Unauthorized,
| errors::ApiErrorResponse::InvalidEphemeralKey
| errors::ApiErrorResponse::CookieNotFound => Self::Unauthorized,
errors::ApiErrorResponse::InvalidRequestUrl
| errors::ApiErrorResponse::InvalidHttpMethod
| errors::ApiErrorResponse::InvalidCardIin