From fa1b76a76b44cad6d54fa64607e840895e5ff524 Mon Sep 17 00:00:00 2001 From: Arnaud BAGNIS Date: Wed, 20 Mar 2024 10:53:35 +0100 Subject: [PATCH] feat(issues/9) : fix http error 429 Too Many Requests --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 67f69c1..082f95c 100644 --- a/index.js +++ b/index.js @@ -27,11 +27,13 @@ program.parse(process.argv); const start = async () => { const sourceStore = { shopName: process.env.SOURCE_SHOPIFY_STORE, + autoLimit: true, accessToken: process.env.SOURCE_SHOPIFY_API_PASSWORD, apiVersion: '2023-10' } const destinationStore = { shopName: process.env.DESTINATION_SHOPIFY_STORE, + autoLimit: true, accessToken: process.env.DESTINATION_SHOPIFY_API_PASSWORD, apiVersion: '2023-10' } @@ -68,4 +70,4 @@ const start = async () => { console.log(e.response) } } -start() \ No newline at end of file +start()