From 074ee859c46ccea956a1c550f6ac4991e848a73f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 12 May 2021 10:28:35 -0400 Subject: [PATCH] fix: tests --- src/controllers/accounts/posts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/accounts/posts.js b/src/controllers/accounts/posts.js index 93c7d8b917..a2996084dd 100644 --- a/src/controllers/accounts/posts.js +++ b/src/controllers/accounts/posts.js @@ -166,8 +166,8 @@ async function getPostsFromUserSet(template, req, res, callback) { data: data, start: start, stop: stop, - itemCount: itemCount, - itemData: itemData, + itemCount: 0, + itemData: [], }); } else { result = utils.promiseParallel({