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

Function sendPush

spec/PushController.spec.js:40–45  ·  view source on GitHub ↗
(body, where, config, auth, now)

Source from the content-addressed store, hash-verified

38};
39
40const sendPush = (body, where, config, auth, now) => {
41 const pushController = new PushController();
42 return new Promise((resolve, reject) => {
43 pushController.sendPush(body, where, config, auth, resolve, now).catch(reject);
44 });
45};
46
47describe('PushController', () => {
48 it('can validate device type when no device type is set', done => {

Callers 1

Calls 1

sendPushMethod · 0.95

Tested by

no test coverage detected