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
1 changed files with 1 additions and 1 deletions

View File

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