mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
chore: address Rust 1.73 clippy lints (#2474)
This commit is contained in:
@ -1205,10 +1205,7 @@ pub async fn payout_create_db_entries(
|
||||
.set_recurring(req.recurring.unwrap_or(false))
|
||||
.set_auto_fulfill(req.auto_fulfill.unwrap_or(false))
|
||||
.set_return_url(req.return_url.to_owned())
|
||||
.set_entity_type(
|
||||
req.entity_type
|
||||
.unwrap_or(api_enums::PayoutEntityType::default()),
|
||||
)
|
||||
.set_entity_type(req.entity_type.unwrap_or_default())
|
||||
.set_metadata(req.metadata.to_owned())
|
||||
.set_created_at(Some(common_utils::date_time::now()))
|
||||
.set_last_modified_at(Some(common_utils::date_time::now()))
|
||||
|
||||
Reference in New Issue
Block a user