Skip to content

Commit

Permalink
Pass in data to patch call
Browse files Browse the repository at this point in the history
  • Loading branch information
Arsenalist committed Aug 5, 2024
1 parent 2d00625 commit ca624f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/medusa-payment-paypal/src/core/paypal-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class PaypalSdk {
*/
async patchOrder(orderId: string, data?: PatchOrder[]): Promise<void> {
const url = PaypalApiPath.PATCH_ORDER.replace("{id}", orderId)
return await this.httpClient_.request({ url, method: "PATCH" })
return await this.httpClient_.request({ url, data, method: "PATCH" })
}

/**
Expand Down

0 comments on commit ca624f4

Please sign in to comment.