diff --git a/lib/Protocol/Helper.js b/lib/Protocol/Helper.js index a383a0e..f25aa91 100644 --- a/lib/Protocol/Helper.js +++ b/lib/Protocol/Helper.js @@ -8,7 +8,7 @@ define(["Protocol/Parser"], function(Parser) { Helper.assemble = function(command, options){ var commands = {}; - commands[command] = options; + commands[command] = options || null; return commands; }