Skip to content

Commit 3bf5dd1

Browse files
committed
Passes proper data to the pushController
1 parent f1f9bde commit 3bf5dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Routers/PushRouter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class PushRouter extends PromiseRouter {
3030

3131
var where = PushRouter.getQueryCondition(req);
3232

33-
pushController.sendPush(req.body, where, req.config, req.auth);
33+
pushController.sendPush(req.body.data, where, req.config, req.auth);
3434
return Promise.resolve({
3535
response: {
3636
'result': true

0 commit comments

Comments
 (0)