diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-13 14:29:01 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-13 14:29:01 +0900 |
| commit | a9080f87ad07c1960e7865801f9fdea5b8e8514a (patch) | |
| tree | c7facc364b259ce64c4fe78da5a0d8f723e51ada /src/server | |
| parent | compress (diff) | |
| download | misskey-a9080f87ad07c1960e7865801f9fdea5b8e8514a.tar.gz misskey-a9080f87ad07c1960e7865801f9fdea5b8e8514a.tar.bz2 misskey-a9080f87ad07c1960e7865801f9fdea5b8e8514a.zip | |
Fix bug
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/activitypub.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/activitypub.ts b/src/server/activitypub.ts index ed0311af9d..acd10b7886 100644 --- a/src/server/activitypub.ts +++ b/src/server/activitypub.ts @@ -44,7 +44,7 @@ router.post('/users/:user/inbox', ctx => { router.get('/notes/:note', async (ctx, next) => { const accepted = ctx.accepts('html', 'application/activity+json', 'application/ld+json'); if (!['application/activity+json', 'application/ld+json'].includes(accepted as string)) { - next(); + await next(); return; } |