refactor(rest) api

This commit is contained in:
coderaiser 2014-08-13 08:10:07 -04:00
parent 330329793c
commit e618258d19

View file

@ -70,8 +70,8 @@
});
}
}
if (!ret)
Util.exec(callback);
if (!ret && callback)
callback();
return ret;
};