diff --git a/src/posts/data.js b/src/posts/data.js index 6c75e53bbf..0e7b16f94a 100644 --- a/src/posts/data.js +++ b/src/posts/data.js @@ -15,7 +15,7 @@ module.exports = function (Posts) { if (!Array.isArray(pids) || !pids.length) { return []; } - const keys = pids.map((pid) => `post:${pid}`); + const keys = pids.map(pid => `post:${pid}`); const postData = await db.getObjects(keys, fields); const result = await plugins.hooks.fire('filter:post.getFields', { pids: pids,