summaryrefslogtreecommitdiff
path: root/src/processor/http/perform-activitypub.ts
diff options
context:
space:
mode:
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));