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.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/processor/http/perform-activitypub.ts b/src/processor/http/perform-activitypub.ts
index 4fdbb901d7..963e532fe5 100644
--- a/src/processor/http/perform-activitypub.ts
+++ b/src/processor/http/perform-activitypub.ts
@@ -3,4 +3,5 @@ import act from '../../remote/activitypub/act';
import Resolver from '../../remote/activitypub/resolver';
export default ({ data }) => User.findOne({ _id: data.actor })
- .then(actor => act(new Resolver(), actor, data.outbox));
+ .then(actor => act(new Resolver(), actor, data.outbox))
+ .then(Promise.all);