feat(payouts): add kafka events (#4264)

Co-authored-by: Ivor Dsouza <ivor.dsouza@juspay.in>
Co-authored-by: ivor-juspay <138492857+ivor-juspay@users.noreply.github.com>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Kashif
2024-04-10 14:43:20 +05:30
committed by GitHub
parent 13ba3cbd96
commit a2958c33b5
16 changed files with 241 additions and 102 deletions

View File

@ -171,6 +171,7 @@ pub async fn make_payout_method_data<'a>(
db.update_payout_attempt(
&payout_data.payout_attempt,
updated_payout_attempt,
&payout_data.payouts,
storage_scheme,
)
.await
@ -549,6 +550,7 @@ pub async fn save_payout_data_to_locker(
db.update_payout(
&payout_data.payouts,
updated_payout,
payout_attempt,
merchant_account.storage_scheme,
)
.await