diff --git a/package.json b/package.json index 5909586..692a139 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chess-web-api", - "version": "1.1.1", + "version": "1.1.2", "description": "chess.com api wrapper", "main": "src/index.js", "scripts": { diff --git a/src/queue/index.js b/src/queue/index.js index aaf838e..9217bb4 100644 --- a/src/queue/index.js +++ b/src/queue/index.js @@ -27,7 +27,7 @@ function dispatch(method, callback, parameters, options, callbackParameters, pri } const [_parameters, _options, _callbackParameters, _priority] = sortParameters( - ['array', 'object', 'function', 'number'], + ['array', 'object', 'array', 'number'], [parameters, options, callbackParameters, priority], );