Fix Mural API response schema (#5454)
* Fix Mural API response schema * Fix clippy * fix compile * fix compile
This commit is contained in:
@@ -10,7 +10,7 @@ use {
|
||||
crate::{
|
||||
AccountId, Blockchain, CounterpartyId, CurrencyCode, FiatAccountType,
|
||||
FiatAmount, FiatAndRailCode, PayoutMethodId, TokenAmount,
|
||||
TransactionId, WalletDetails,
|
||||
WalletDetails,
|
||||
},
|
||||
chrono::{DateTime, Utc},
|
||||
derive_more::{Deref, Display, Error, From},
|
||||
@@ -297,7 +297,7 @@ pub struct Payout {
|
||||
#[cfg_attr(feature = "utoipa", derive(utoipa::ToSchema))]
|
||||
#[serde(tag = "type", rename_all = "camelCase")]
|
||||
pub enum PayoutDetails {
|
||||
Fiat(FiatPayoutDetails),
|
||||
Fiat(Box<FiatPayoutDetails>),
|
||||
Blockchain(BlockchainPayoutDetails),
|
||||
}
|
||||
|
||||
@@ -357,7 +357,7 @@ pub enum FiatPayoutStatus {
|
||||
failure_reason: String,
|
||||
refund_completed_at: DateTime<Utc>,
|
||||
refund_initiated_at: DateTime<Utc>,
|
||||
refund_transaction_id: TransactionId,
|
||||
refund_transaction_id: String,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user