Edujugon / PushNotification

PHP and Laravel Package to send push notifications to Android and IOS devices.
MIT License
478 stars 159 forks source link

Remove undesired character #138

Closed laurentmeuwly closed 1 year ago

laurentmeuwly commented 3 years ago

The additional colon character after the Content-Type string will result in folowing error in HTTP Request: "Content-Type:" is not valid header name Of course the right header name is "Content-Type" without the colon character.

RTippin commented 3 years ago

I too noticed this and forked it. However, did not create a pull request as for whatever reason, removing that character caused most the tests to fail, returning NULL instead of stdClass.

pultho commented 1 year ago

Since this one is already fixed on master I will close this PR. Thanks for contributing!