Skip to content

Commit

Permalink
Add existing data as base for update payment data
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmin-Parvulescu committed Oct 11, 2023
1 parent aa13c0e commit 0d6fdcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform/billing/src/jsonrpc/methods/stripePaymentData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ export const setStripePaymentData = async ({

const { customerID, paymentMethodID, email, name, accountURN } = input

const spd = await ownerNode.class.getStripePaymentData()
await ownerNode.class.setStripePaymentData({
...spd,
customerID,
paymentMethodID,
email,
Expand Down

0 comments on commit 0d6fdcf

Please sign in to comment.