Skip to content

Node.js based forum software built for the modern web

fix: missing break statement

Julian Lam2c8342632f0b
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);
};