This commit is contained in:
Barış Soner Uşaklı
2019-04-01 08:27:37 -04:00
parent 6d8880db43
commit b52dba5c92
2 changed files with 8 additions and 1 deletions

View File

@@ -215,7 +215,7 @@ module.exports = function (Posts) {
},
function (data, next) {
if (!data) {
return callback();
return callback(null, null);
}
try {
data.data = JSON.parse(data.data);