From 67db6a9129834455e8d34d7c98f6f23807a8caf3 Mon Sep 17 00:00:00 2001 From: Xavier Gouley Date: Fri, 18 Jun 2021 11:08:54 +0200 Subject: [PATCH] merchant_id is not here anymore (#142) --- _dev/src/store/modules/accounts/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_dev/src/store/modules/accounts/actions.ts b/_dev/src/store/modules/accounts/actions.ts index 7531b7f61d..af4db9f5b2 100644 --- a/_dev/src/store/modules/accounts/actions.ts +++ b/_dev/src/store/modules/accounts/actions.ts @@ -185,7 +185,7 @@ export default { const json = await response.json(); commit(MutationsTypes.SAVE_GOOGLE_ACCOUNT_TOKEN, json); commit(MutationsTypes.SET_GOOGLE_ACCOUNT, json); - if (json.account_id && json.merchant_id) { + if (json.account_id) { commit(MutationsTypes.SAVE_GMC, { id: json.account_id, });