diff options
Diffstat (limited to 'server/lib/notifier')
-rw-r--r-- | server/lib/notifier/notifier.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/notifier/notifier.ts b/server/lib/notifier/notifier.ts index d1c4c0215..66cfc31c4 100644 --- a/server/lib/notifier/notifier.ts +++ b/server/lib/notifier/notifier.ts | |||
@@ -242,7 +242,7 @@ class Notifier { | |||
242 | 242 | ||
243 | for (const to of toEmails) { | 243 | for (const to of toEmails) { |
244 | const payload = await object.createEmail(to) | 244 | const payload = await object.createEmail(to) |
245 | JobQueue.Instance.createJob({ type: 'email', payload }) | 245 | JobQueue.Instance.createJobAsync({ type: 'email', payload }) |
246 | } | 246 | } |
247 | } | 247 | } |
248 | 248 | ||