(body, installations)
| 17 | }; |
| 18 | |
| 19 | const 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 | |
| 30 | const pushCompleted = async pushId => { |
| 31 | const query = new Parse.Query('_PushStatus'); |
no outgoing calls
no test coverage detected