fix: use view_deleted when filtering, closes #8137

This commit is contained in:
Barış Soner Uşaklı
2020-01-28 12:42:57 -05:00
parent d927b763c1
commit 9969dd6335
4 changed files with 11 additions and 9 deletions

View File

@@ -50,8 +50,7 @@ Topics.getTopics = async function (tids, options) {
}
tids = await privileges.topics.filterTids('topics:read', tids, uid);
const topics = await Topics.getTopicsByTids(tids, options);
return topics;
return await Topics.getTopicsByTids(tids, options);
};
Topics.getTopicsByTids = async function (tids, options) {