Skip to content

Commit

Permalink
Fix proxy (#153)
Browse files Browse the repository at this point in the history
Accepts request options for the gcm.Sender in the node-gcm package
  • Loading branch information
simonegiacco authored and dplewis committed Nov 26, 2019
1 parent 63f1cf3 commit 0875533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GCM.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function GCM(args) {
throw new Parse.Error(Parse.Error.PUSH_MISCONFIGURED,
'GCM Configuration is invalid');
}
this.sender = new gcm.Sender(args.apiKey);
this.sender = new gcm.Sender(args.apiKey, args.requestOptions);
}

GCM.GCMRegistrationTokensMax = GCMRegistrationTokensMax;
Expand Down

0 comments on commit 0875533

Please sign in to comment.