Squashed commit of the following:
commit bfeb85e018267cd709cb8a3f4a072ed1c1e8a0e7 Author: Steve Kinney <hello@stevekinney.net> Date: Wed Oct 2 04:34:37 2024 -0500 Remove solution commit 8c740cf91bf10043f5740716dffdf80f142f16d5 Author: Steve Kinney <hello@stevekinney.net> Date: Wed Oct 2 04:32:42 2024 -0500 Complete MSW example commit 0a646ca6e16460b94174dadf629cdd9866c9f33b Author: Steve Kinney <hello@stevekinney.net> Date: Wed Oct 2 04:25:06 2024 -0500 Minor tweaks to Task List
This commit is contained in:
@@ -56,7 +56,7 @@ app.delete('/api/tasks/:id', (req, res) => {
|
||||
return res.status(404).json({ message: 'Task not found' });
|
||||
}
|
||||
|
||||
res.status(204).send(); // No content to send back
|
||||
res.sendStatus(204); // No content to send back
|
||||
});
|
||||
|
||||
const PORT = process.env.PORT || 3000;
|
||||
|
||||
Reference in New Issue
Block a user