Skip to content

Commit 0875533

Browse files
simonegiaccodplewis
authored andcommitted
Fix proxy (#153)
Accepts request options for the gcm.Sender in the node-gcm package
1 parent 63f1cf3 commit 0875533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GCM.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function GCM(args) {
1414
throw new Parse.Error(Parse.Error.PUSH_MISCONFIGURED,
1515
'GCM Configuration is invalid');
1616
}
17-
this.sender = new gcm.Sender(args.apiKey);
17+
this.sender = new gcm.Sender(args.apiKey, args.requestOptions);
1818
}
1919

2020
GCM.GCMRegistrationTokensMax = GCMRegistrationTokensMax;

0 commit comments

Comments
 (0)