From 2c8342632f0b87fcd08c16442b5f5c9a3bf45bea Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 26 Jan 2024 11:44:44 -0500 Subject: [PATCH] fix: missing break statement --- src/controllers/activitypub/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/controllers/activitypub/index.js b/src/controllers/activitypub/index.js index 8db726a2cf..aaa8fccb05 100644 --- a/src/controllers/activitypub/index.js +++ b/src/controllers/activitypub/index.js @@ -97,8 +97,7 @@ Controller.postInbox = async (req, res) => { default: { res.sendStatus(501); + break; } } - - res.sendStatus(201); };