MCPcopy Index your code
hub / github.com/parse-community/parse-server / applyDeviceTokenExists

Function applyDeviceTokenExists

src/Push/utils.js:130–136  ·  view source on GitHub ↗
(where)

Source from the content-addressed store, hash-verified

128}
129
130export function applyDeviceTokenExists(where) {
131 where = structuredClone(where);
132 if (!Object.prototype.hasOwnProperty.call(where, 'deviceToken')) {
133 where['deviceToken'] = { $exists: true };
134 }
135 return where;
136}

Callers 2

sendPushMethod · 0.90
enqueueMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…