Merge pull request #1352 from akihikodaki/inbox
Respond with 202 for inbox request
This commit is contained in:
commit
2e8e5f68dd
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user