Merge pull request #1352 from akihikodaki/inbox

Respond with 202 for inbox request
This commit is contained in:
syuilo 2018-04-01 18:17:36 +09:00 committed by GitHub
commit 2e8e5f68dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;