diff --git a/package.json b/package.json index 84c1e94..ff016da 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "knex": "^0.13.0", "node-fetch": "^1.7.3", "prop-types": "^15.6.1", + "qs": "^6.5.2", "raw-body": "^2.3.2", "sqlite3": "^3.1.9", "url": "^0.11.0" diff --git a/routes/shopifyApiProxy.js b/routes/shopifyApiProxy.js index 6abfc2b..22e990f 100644 --- a/routes/shopifyApiProxy.js +++ b/routes/shopifyApiProxy.js @@ -1,4 +1,4 @@ -const querystring = require('querystring'); +const querystring = require('qs'); const fetch = require('node-fetch'); const DISALLOWED_URLS = [ diff --git a/yarn.lock b/yarn.lock index 3160a6a..f41f08d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2600,13 +2600,9 @@ punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" -qs@6.5.1, qs@~6.5.1: - version "6.5.1" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" - -qs@~6.4.0: - version "6.4.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" +qs@^6.5.2: + version "6.5.2" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" querystring@0.2.0: version "0.2.0"