Skip to content

Commit

Permalink
Fix getSubscriber on paypal approve
Browse files Browse the repository at this point in the history
  • Loading branch information
RodriSanchez1 committed Dec 29, 2023
1 parent 0bc86e3 commit fbeafa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Settings/Subscribe/Subscribe.container.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class SubscribeContainer extends PureComponent {
if (!res.ok) throw res;
const requestOrigin =
'Function: handlePaypalApprove - Component: Subscribe Container';
const subscriber = await API.getSubscriber(false, requestOrigin);
const subscriber = await API.getSubscriber(undefined, requestOrigin);
updateSubscription({
ownedProduct: {
...product,
Expand Down

0 comments on commit fbeafa2

Please sign in to comment.