Commit 7cdfd471 authored by Romain Courteaud's avatar Romain Courteaud

Fix error reporting with attachment methods.

parent 7e988905
...@@ -349,7 +349,7 @@ ...@@ -349,7 +349,7 @@
declareMethod(JioProxyStorage, 'removeAttachment', function (param, storage, method_name) { declareMethod(JioProxyStorage, 'removeAttachment', function (param, storage, method_name) {
checkId(param, storage, method_name); checkId(param, storage, method_name);
checkAttachmentId(param); checkAttachmentId(param, storage, method_name);
}); });
declareMethod(JioProxyStorage, 'getAttachment', function (param, storage, method_name) { declareMethod(JioProxyStorage, 'getAttachment', function (param, storage, method_name) {
...@@ -365,7 +365,7 @@ ...@@ -365,7 +365,7 @@
// return false; // return false;
// } // }
checkId(param, storage, method_name); checkId(param, storage, method_name);
checkAttachmentId(param); checkAttachmentId(param, storage, method_name);
}); });
JioProxyStorage.prototype.buildQuery = function () { JioProxyStorage.prototype.buildQuery = function () {
......
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