Skip to content

Commit

Permalink
fixing lint for data.js
Browse files Browse the repository at this point in the history
  • Loading branch information
VeronicaPim committed Oct 8, 2024
1 parent 8dd5682 commit 0f3ba1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posts/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0f3ba1f

Please sign in to comment.