Skip to content

Node.js based forum software built for the modern web

fix: match topicsAPI.get and topic controller

Barış Soner Uşaklıc80725008abf
diff --git a/src/api/topics.js b/src/api/topics.js
index 3605bb3222..a970697e83 100644
--- a/src/api/topics.js
+++ b/src/api/topics.js
@@ -39,7 +39,6 @@ topicsAPI.get = async function (caller, data) {
]);
if (
!topic ||
- !userPrivileges.read ||
!userPrivileges['topics:read'] ||
userPrivileges.disabled ||
!privileges.topics.canViewDeletedScheduled(topic, userPrivileges)