We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe85d3 commit 34db45eCopy full SHA for 34db45e
src/ParseServer.js
@@ -181,7 +181,7 @@ class ParseServer {
181
// We pass the options and the base class for the adatper,
182
// Note that passing an instance would work too
183
const pushController = new PushController();
184
- const hasPushSupport = (pushAdapter && push) !== undefined;
+ const hasPushSupport = !!(pushAdapter && push);
185
const hasPushScheduledSupport = hasPushSupport && (scheduledPush === true);
186
187
const {
0 commit comments