mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-26 19:04:36 +08:00
feat: add routing support for v2 sdk session flow (#6763)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -603,8 +603,8 @@ impl<T: DatabaseStore> PaymentIntentInterface for crate::RouterStore<T> {
|
||||
) -> error_stack::Result<PaymentIntent, StorageError> {
|
||||
let conn = pg_connection_write(self).await?;
|
||||
let diesel_payment_intent_update =
|
||||
diesel_models::PaymentIntentUpdateInternal::from(payment_intent);
|
||||
|
||||
diesel_models::PaymentIntentUpdateInternal::try_from(payment_intent)
|
||||
.change_context(StorageError::DeserializationFailed)?;
|
||||
let diesel_payment_intent = this
|
||||
.convert()
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user