mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: missing break statement
This commit is contained in:
@@ -97,8 +97,7 @@ Controller.postInbox = async (req, res) => {
|
||||
|
||||
default: {
|
||||
res.sendStatus(501);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
res.sendStatus(201);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user