Respond with 202 for inbox request

This commit is contained in:
Akihiko Odaki 2018-04-01 18:16:47 +09:00
parent 63e8050094
commit c83bb3b8ab

View file

@ -36,7 +36,7 @@ app.post('/@:user/inbox', async (req, res) => {
outbox: req.body,
}).save();
return res.sendStatus(200);
return res.status(202).end();
});
export default app;