diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2018-04-01 18:17:36 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-01 18:17:36 +0900 |
| commit | 2e8e5f68dd48516939e23f89cc06fffe5a3247b9 (patch) | |
| tree | 2e25381d4cbae4edf6d5013e7badfcc1abca370e /src/server/activitypub | |
| parent | Resolve conflict (diff) | |
| parent | Respond with 202 for inbox request (diff) | |
| download | sharkey-2e8e5f68dd48516939e23f89cc06fffe5a3247b9.tar.gz sharkey-2e8e5f68dd48516939e23f89cc06fffe5a3247b9.tar.bz2 sharkey-2e8e5f68dd48516939e23f89cc06fffe5a3247b9.zip | |
Merge pull request #1352 from akihikodaki/inbox
Respond with 202 for inbox request
Diffstat (limited to 'src/server/activitypub')
| -rw-r--r-- | src/server/activitypub/inbox.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/activitypub/inbox.ts b/src/server/activitypub/inbox.ts index b4761d9972..9151297487 100644 --- a/src/server/activitypub/inbox.ts +++ b/src/server/activitypub/inbox.ts @@ -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; |