summaryrefslogtreecommitdiff
path: root/src/queue
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue')
-rw-r--r--src/queue/index.ts2
1 files changed, 1 insertions, 1 deletions
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) {