mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
fix: return none instead of err when payment method data is not found for bank debit during listing (#2967)
This commit is contained in:
@ -2459,8 +2459,7 @@ async fn get_bank_account_connector_details(
|
|||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
None => Err(errors::ApiErrorResponse::InternalServerError.into())
|
None => Ok(None),
|
||||||
.attach_printable("Unable to fetch payment method data"),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user