mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-29 03:40:27 +01:00
fix: #7508
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user