From 08e1c87fa602f470e7e19d7c162597ddc6980162 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 27 Jul 2018 18:50:15 +0900 Subject: [PATCH] oops --- src/queue/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {