From fbeafa24221114a24be8157ae72203baedead242 Mon Sep 17 00:00:00 2001 From: Rodri Sanchez Date: Fri, 29 Dec 2023 17:03:10 -0300 Subject: [PATCH] Fix getSubscriber on paypal approve --- src/components/Settings/Subscribe/Subscribe.container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Settings/Subscribe/Subscribe.container.js b/src/components/Settings/Subscribe/Subscribe.container.js index fcbef583a..246ffa5db 100644 --- a/src/components/Settings/Subscribe/Subscribe.container.js +++ b/src/components/Settings/Subscribe/Subscribe.container.js @@ -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,