diff --git a/src/posts/create.js b/src/posts/create.js index b248f04a36..d541564c2e 100644 --- a/src/posts/create.js +++ b/src/posts/create.js @@ -25,7 +25,7 @@ module.exports = function (Posts) { } if (data.toPid) { - await checkToPid(data.toPid); + await checkToPid(data.toPid, uid); } const pid = await db.incrObjectField('global', 'nextPid');