From 054c1c33a29c031cac363b44ba9db0e3b40cddde Mon Sep 17 00:00:00 2001 From: YuAn Chen Date: Thu, 13 Sep 2018 10:52:01 +0800 Subject: [PATCH] fix scope error --- routes/shopifyAuth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/shopifyAuth.js b/routes/shopifyAuth.js index 317ab68..1b58a66 100644 --- a/routes/shopifyAuth.js +++ b/routes/shopifyAuth.js @@ -34,7 +34,7 @@ module.exports = function createShopifyAuthRoutes({ const redirectParams = { baseUrl, - scope, + scope: scope.join(','), client_id: apiKey, redirect_uri: `${host}${baseUrl}/callback`, };