diff options
-rw-r--r-- | ui/app/lib/bitmask.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/lib/bitmask.js b/ui/app/lib/bitmask.js index f388e95..9526cb0 100644 --- a/ui/app/lib/bitmask.js +++ b/ui/app/lib/bitmask.js @@ -43,8 +43,8 @@ var bitmask = function(){ } function call(command) { - var url = api_url + command.slice(0, 2).join('/'); - var data = JSON.stringify(command.slice(2)); + var url = api_url + command.slice(0, 3).join('/'); + var data = JSON.stringify(command.slice(3)); return new Promise(function(resolve, reject) { var req = new XMLHttpRequest(); |