mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
docs: standardise error types and error codes (#432)
This commit is contained in:
@ -236,7 +236,7 @@ pub async fn is_ephemeral_auth(
|
||||
.change_context(errors::ApiErrorResponse::Unauthorized)?;
|
||||
|
||||
if ephemeral_key.customer_id.ne(customer_id) {
|
||||
return Err(report!(errors::ApiErrorResponse::InvalidEphermeralKey));
|
||||
return Err(report!(errors::ApiErrorResponse::InvalidEphemeralKey));
|
||||
}
|
||||
|
||||
Ok(Box::new(MerchantIdAuth(ephemeral_key.merchant_id)))
|
||||
|
||||
Reference in New Issue
Block a user