summaryrefslogtreecommitdiff
path: root/src/processor/http/perform-activitypub.ts
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-03 02:09:50 +0900
committerAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-03 02:10:24 +0900
commit63906af5ab170ff11f74450fedf980d21aacf49b (patch)
treea84d174a29d9f91d6c931dc2176271d8b6efba28 /src/processor/http/perform-activitypub.ts
parentFix bug (diff)
downloadmisskey-63906af5ab170ff11f74450fedf980d21aacf49b.tar.gz
misskey-63906af5ab170ff11f74450fedf980d21aacf49b.tar.bz2
misskey-63906af5ab170ff11f74450fedf980d21aacf49b.zip
Fix job processor interfaces
Diffstat (limited to 'src/processor/http/perform-activitypub.ts')
-rw-r--r--src/processor/http/perform-activitypub.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/processor/http/perform-activitypub.ts b/src/processor/http/perform-activitypub.ts
index 420ed9ec75..adf4e65a72 100644
--- a/src/processor/http/perform-activitypub.ts
+++ b/src/processor/http/perform-activitypub.ts
@@ -1,6 +1,5 @@
import User from '../../models/user';
import act from '../../remote/activitypub/act';
-export default ({ data }, done) => User.findOne({ _id: data.actor })
- .then(actor => act(actor, data.outbox, false))
- .then(() => done(), done);
+export default ({ data }) => User.findOne({ _id: data.actor })
+ .then(actor => act(actor, data.outbox, false));