diff options
Diffstat (limited to 'server/controllers/api/accounts.ts')
-rw-r--r-- | server/controllers/api/accounts.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/accounts.ts b/server/controllers/api/accounts.ts index 8d9f92d93..66cdaab82 100644 --- a/server/controllers/api/accounts.ts +++ b/server/controllers/api/accounts.ts | |||
@@ -119,7 +119,7 @@ function getAccount (req: express.Request, res: express.Response) { | |||
119 | const account = res.locals.account | 119 | const account = res.locals.account |
120 | 120 | ||
121 | if (account.isOutdated()) { | 121 | if (account.isOutdated()) { |
122 | JobQueue.Instance.createJob({ type: 'activitypub-refresher', payload: { type: 'actor', url: account.Actor.url } }) | 122 | JobQueue.Instance.createJobAsync({ type: 'activitypub-refresher', payload: { type: 'actor', url: account.Actor.url } }) |
123 | } | 123 | } |
124 | 124 | ||
125 | return res.json(account.toFormattedJSON()) | 125 | return res.json(account.toFormattedJSON()) |