From c13a67b61ac210ef28089e5c5c6d65f5e8a6efaf 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) {