1
0

Better ser/deser for payouts vals (#474)

This commit is contained in:
Geometrically
2022-11-08 14:14:07 -07:00
committed by GitHub
parent 0429c44d18
commit 1d391e68e5
3 changed files with 17 additions and 11 deletions

View File

@@ -1,4 +1,3 @@
use crate::models::users::{RecipientType, RecipientWallet};
use crate::routes::ApiError;
use chrono::{DateTime, Duration, Utc};
use serde::{Deserialize, Serialize};
@@ -22,8 +21,8 @@ pub struct PayoutItem {
pub amount: PayoutAmount,
pub receiver: String,
pub note: String,
pub recipient_type: RecipientType,
pub recipient_wallet: RecipientWallet,
pub recipient_type: String,
pub recipient_wallet: String,
pub sender_item_id: String,
}