Skip to content

Node.js based forum software built for the modern web

fix: tests

Barış Soner Uşaklı074ee859c46c
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({