From 65e6853306e8636974840082776c7aaec9b65f0f Mon Sep 17 00:00:00 2001 From: fkilz <89009253+fkilz@users.noreply.github.com> Date: Fri, 24 Nov 2023 15:54:26 +0100 Subject: [PATCH] fix: beu-1325 fix user activate always returning empty object because of no tccesstoken existing (#117) --- .../storefront-shop-adapter-shopify/src/providers/user.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/storefront-shop-adapter-shopify/src/providers/user.ts b/packages/storefront-shop-adapter-shopify/src/providers/user.ts index ba1c9cb..cb24752 100755 --- a/packages/storefront-shop-adapter-shopify/src/providers/user.ts +++ b/packages/storefront-shop-adapter-shopify/src/providers/user.ts @@ -301,11 +301,6 @@ export class StorefrontShopAdapterShopifyUser activate: MakairaActivateUser = async ({ input: { activationUrl, password } }) => { try { - const { customerAccessToken } = this.getCustomerAccessToken() - - if (!customerAccessToken) { - return { raw: {} } - } const responseCustomerActivate = await this.mainAdapter.fetchFromShop< CustomerActivateMutationData, CustomerActivateMutationVariables