mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
chore: address Rust 1.87.0 clippy lints (#8130)
This commit is contained in:
@ -168,7 +168,7 @@ impl IntoDirValue for (api_enums::PaymentMethodType, api_enums::PaymentMethod) {
|
||||
| api_enums::PaymentMethod::Voucher
|
||||
| api_enums::PaymentMethod::OpenBanking
|
||||
| api_enums::PaymentMethod::GiftCard => Err(KgraphError::ContextConstructionError(
|
||||
AnalysisErrorType::NotSupported,
|
||||
Box::new(AnalysisErrorType::NotSupported),
|
||||
)),
|
||||
},
|
||||
api_enums::PaymentMethodType::Bacs => match self.1 {
|
||||
@ -187,7 +187,7 @@ impl IntoDirValue for (api_enums::PaymentMethodType, api_enums::PaymentMethod) {
|
||||
| api_enums::PaymentMethod::Voucher
|
||||
| api_enums::PaymentMethod::OpenBanking
|
||||
| api_enums::PaymentMethod::GiftCard => Err(KgraphError::ContextConstructionError(
|
||||
AnalysisErrorType::NotSupported,
|
||||
Box::new(AnalysisErrorType::NotSupported),
|
||||
)),
|
||||
},
|
||||
api_enums::PaymentMethodType::Becs => Ok(dirval!(BankDebitType = Becs)),
|
||||
|
||||
Reference in New Issue
Block a user