]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/job-queue/handlers/email.ts
Add ability to list video imports
[github/Chocobozzz/PeerTube.git] / server / lib / job-queue / handlers / email.ts
index 9d76861167d40e3847720000ecae6e26954ff9e0..73d98ae548ffa9b54b11ff70f623db667cd85e4b 100644 (file)
@@ -1,4 +1,4 @@
-import * as kue from 'kue'
+import * as Bull from 'bull'
 import { logger } from '../../../helpers/logger'
 import { Emailer } from '../../emailer'
 
@@ -8,7 +8,7 @@ export type EmailPayload = {
   text: string
 }
 
-async function processEmail (job: kue.Job) {
+async function processEmail (job: Bull.Job) {
   const payload = job.data as EmailPayload
   logger.info('Processing email in job %d.', job.id)