diff --git a/src/queue/index.ts b/src/queue/index.ts index e404f6fc9..5a48dbe64 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) {