This commit is contained in:
Barış Soner Uşaklı
2018-02-01 14:33:00 -05:00
parent 2e2032cca1
commit b084a596fa
3 changed files with 19 additions and 3 deletions

View File

@@ -277,7 +277,7 @@ module.exports = function (db, module) {
callback = callback || helpers.noop;
value = parseInt(value, 10);
if (!key || isNaN(value)) {
return callback();
return callback(null, null);
}
var data = {};