Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$receiver parameter is never used in getOutgoingMessages() #28

Open
ghost opened this issue Jul 30, 2019 · 0 comments
Open

$receiver parameter is never used in getOutgoingMessages() #28

ghost opened this issue Jul 30, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 30, 2019

The parameter and filter $receiver for the method getOutgoingMessages() in the class SmsApi is never used. We can't filter by receiver and we will always get every SMS.

Works fine if we add the following code before sending the request :

if (!is_null($receiver)) {
    $parameters['receiver'] = $receiver;
}

More information on /sms/{serviceName}/outgoing request parameters here : https://api.ovh.com/console/#/sms/%7BserviceName%7D/outgoing#GET

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants