diff --git a/src/queue/index.ts b/src/queue/index.ts index e404f6fc9c..5a48dbe648 100644 --- a/src/queue/index.ts +++ b/src/queue/index.ts @@ -2,7 +2,7 @@ import http from './processors/http'; import { ILocalUser } from '../models/user'; export function createHttpJob(data: any) { - return http(data, () => {}); + return http({ data }, () => {}); } export function deliver(user: ILocalUser, content: any, to: any) {