Respond with 202 for inbox request

This commit is contained in:
Akihiko Odaki 2018-04-01 18:16:47 +09:00
parent 65478160ca
commit f53497e2c0

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;