From e195bf8cdfea247559b6b6326852a3e4974bfbaf Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Tue, 7 Mar 2023 02:12:52 +0000 Subject: [PATCH] remove key --- packages/server/src/utils/fullfillPostsData/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/server/src/utils/fullfillPostsData/index.js b/packages/server/src/utils/fullfillPostsData/index.js index 70dbf96b..b8e016fb 100755 --- a/packages/server/src/utils/fullfillPostsData/index.js +++ b/packages/server/src/utils/fullfillPostsData/index.js @@ -48,7 +48,6 @@ export default async (payload) => { } return { - key: Number(skip) + Number(index), ...post, comments: comments.map((comment) => comment._id.toString()), user,