Skip to content

Commit

Permalink
Add vendor to buyer notification (#8787)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsolo authored Jun 11, 2024
1 parent 049c48b commit fbe5cbe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ begin
'seller_user_id', new.seller_user_id,
'amount', new.amount,
'extra_amount', new.extra_amount,
'content_id', new.content_id
'content_id', new.content_id,
'vendor', new.vendor
)
)
on conflict do nothing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,6 @@ def test_usdc_purchase_notification(app):
"amount": 1000,
"extra_amount": 0,
"content_id": 100,
"vendor": None,
}
assert buyer_notifications[0].slot == 4
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def test_get_usdc_purchase_notifications(app):
"amount": 1000000,
"extra_amount": 0,
"content_id": 1,
"vendor": None,
}


Expand Down

0 comments on commit fbe5cbe

Please sign in to comment.