aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/users
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/users')
-rw-r--r--server/controllers/api/users/my-subscriptions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/users/my-subscriptions.ts b/server/controllers/api/users/my-subscriptions.ts
index fb1f68635..a750f9bd1 100644
--- a/server/controllers/api/users/my-subscriptions.ts
+++ b/server/controllers/api/users/my-subscriptions.ts
@@ -122,7 +122,7 @@ function addUserSubscription (req: express.Request, res: express.Response) {
122 followerActorId: user.Account.Actor.id 122 followerActorId: user.Account.Actor.id
123 } 123 }
124 124
125 JobQueue.Instance.createJob({ type: 'activitypub-follow', payload }) 125 JobQueue.Instance.createJobAsync({ type: 'activitypub-follow', payload })
126 126
127 return res.status(HttpStatusCode.NO_CONTENT_204).end() 127 return res.status(HttpStatusCode.NO_CONTENT_204).end()
128} 128}