mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 08:33:09 +02:00
Merge pull request #1352 from akihikodaki/inbox
Respond with 202 for inbox request
This commit is contained in:
commit
2e8e5f68dd
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue