Skip to content

Commit 72c572c

Browse files
committed
Set push.storedPushData in serverInfo features if push is available
It's assumed that when push is available, the pushHandler is used and data is saved in _PushStatus. This allows Parse Dashboard push history to be enabled: parse-community/parse-dashboard#378
1 parent 2561987 commit 72c572c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Routers/FeaturesRouter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class FeaturesRouter extends PromiseRouter {
2828
push: {
2929
immediatePush: req.config.pushController.pushIsAvailable,
3030
scheduledPush: false,
31-
storedPushData: false,
31+
storedPushData: req.config.pushController.pushIsAvailable,
3232
pushAudiences: false,
3333
},
3434
schemas: {

0 commit comments

Comments
 (0)