Skip to content

Commit

Permalink
Passes proper data to the pushController
Browse files Browse the repository at this point in the history
  • Loading branch information
flovilmart committed Mar 7, 2016
1 parent f1f9bde commit 3bf5dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Routers/PushRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bf5dd1

Please sign in to comment.