Skip to content

Commit

Permalink
fix: beu-1325 fix user activate always returning empty object because…
Browse files Browse the repository at this point in the history
… of no tccesstoken existing (#117)
  • Loading branch information
fkilz authored Nov 24, 2023
1 parent 9e887cc commit 65e6853
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,6 @@ export class StorefrontShopAdapterShopifyUser
activate: MakairaActivateUser<unknown, ShopifyActivateUserRaw, Error> =
async ({ input: { activationUrl, password } }) => {
try {
const { customerAccessToken } = this.getCustomerAccessToken()

if (!customerAccessToken) {
return { raw: {} }
}
const responseCustomerActivate = await this.mainAdapter.fetchFromShop<
CustomerActivateMutationData,
CustomerActivateMutationVariables
Expand Down

0 comments on commit 65e6853

Please sign in to comment.