Node.js based forum software built for the modern web
fix: add missing return
Barış Soner Uşaklıa6c4b86e67fb
diff --git a/src/controllers/activitypub/index.js b/src/controllers/activitypub/index.jsindex 056ec14af7..9fea2cf847 100644--- a/src/controllers/activitypub/index.js+++ b/src/controllers/activitypub/index.js@@ -220,7 +220,7 @@ Controller.getCategoryOutbox = async (req, res) => {const allowed = await privileges.categories.can('topics:read', cid, req.uid);if (!allowed) {- res.sendStatus(403);+ return res.sendStatus(403);}const set = `cid:${cid}:pids`;