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

Function successfulIOS

spec/PushController.spec.js:19–28  ·  view source on GitHub ↗
(body, installations)

Source from the content-addressed store, hash-verified

17};
18
19const successfulIOS = function (body, installations) {
20 const promises = installations.map(device => {
21 return Promise.resolve({
22 transmitted: device.deviceType == 'ios',
23 device: device,
24 });
25 });
26
27 return Promise.all(promises);
28};
29
30const pushCompleted = async pushId => {
31 const query = new Parse.Query('_PushStatus');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected