Commit a42b4948 authored by Tristan Cavelier's avatar Tristan Cavelier

move 2 'return false' which were at the wrong place!

parent 5d6b82d1
......@@ -28,8 +28,8 @@ var getCommand = function(spec, my) {
"message": "The attachment id must not be an empty string",
"reason": "Attachment id is empty"
});
return false;
}
return false;
}
return true;
};
......
......@@ -28,8 +28,8 @@ var removeCommand = function(spec, my) {
"message": "The attachment id must not be an empty string",
"reason": "Attachment id is empty"
});
return false;
}
return false;
}
return true;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment