Open diogocoutinho opened 6 months ago
The getNotifications with a bug of write.
In the line 430 of OneSignalClient:
if($offset) { $endpoint.="&offset=".$$offset; }
Here seems a double "$" and caused a error when provide a offset by user
Just remove a "$"
if($offset) { $endpoint.="&offset=".$offset; }
I will a PR to help.
The getNotifications with a bug of write.
Error:
In the line 430 of OneSignalClient:
Here seems a double "$" and caused a error when provide a offset by user
Solution:
Just remove a "$"
I will a PR to help.