Skip to content

Commit

Permalink
Merge 20fef8a into 3af24fa
Browse files Browse the repository at this point in the history
  • Loading branch information
mete89 committed Apr 1, 2020
2 parents 3af24fa + 20fef8a commit 9e34359
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -185,6 +185,8 @@ Shopify.prototype.request = function request(uri, method, key, data, headers) {
* @private
*/
Shopify.prototype.updateGraphqlLimits = function updateGraphqlLimits(throttle) {
if (!throttle) return;

const limits = this.callGraphqlLimits;

limits.remaining = throttle.currentlyAvailable;
Expand Down

0 comments on commit 9e34359

Please sign in to comment.