From 3bf5dd181af3df37b5403c9d72c28e2973cdf9c6 Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Mon, 7 Mar 2016 17:19:55 -0500 Subject: [PATCH] Passes proper data to the pushController --- src/Routers/PushRouter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Routers/PushRouter.js b/src/Routers/PushRouter.js index f75d99985b8..8c237b121a6 100644 --- a/src/Routers/PushRouter.js +++ b/src/Routers/PushRouter.js @@ -30,7 +30,7 @@ export class PushRouter extends PromiseRouter { var where = PushRouter.getQueryCondition(req); - pushController.sendPush(req.body, where, req.config, req.auth); + pushController.sendPush(req.body.data, where, req.config, req.auth); return Promise.resolve({ response: { 'result': true