mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
refactor(enums): move enums from storage_models and api_models crates to common_enums crate (#1265)
This commit is contained in:
@ -17,7 +17,7 @@ use crate::{
|
||||
mandates::{self, MandateResponseExt},
|
||||
},
|
||||
domain, storage,
|
||||
transformers::{ForeignInto, ForeignTryFrom},
|
||||
transformers::ForeignTryFrom,
|
||||
},
|
||||
utils::OptionExt,
|
||||
};
|
||||
@ -58,7 +58,7 @@ pub async fn revoke_mandate(
|
||||
Ok(services::ApplicationResponse::Json(
|
||||
mandates::MandateRevokedResponse {
|
||||
mandate_id: mandate.mandate_id,
|
||||
status: mandate.mandate_status.foreign_into(),
|
||||
status: mandate.mandate_status,
|
||||
},
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user