mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
fix(payouts): persist status updates in payouts table (#4280)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -288,7 +288,7 @@ pub async fn save_payout_data_to_locker(
|
||||
// Store card_reference in payouts table
|
||||
let db = &*state.store;
|
||||
let updated_payout = storage::PayoutsUpdate::PayoutMethodIdUpdate {
|
||||
payout_method_id: Some(stored_resp.card_reference.to_owned()),
|
||||
payout_method_id: stored_resp.card_reference.to_owned(),
|
||||
};
|
||||
db.update_payout(
|
||||
&payout_data.payouts,
|
||||
|
||||
Reference in New Issue
Block a user