8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e066c3e commit d1d7656Copy full SHA for d1d7656
src/Symfony/Component/Notifier/Bridge/AllMySms/AllMySmsTransport.php
@@ -64,11 +64,11 @@ protected function doSend(MessageInterface $message): SentMessage
64
$endpoint = sprintf('https://%s/sms/send/', $this->getEndpoint());
65
$response = $this->client->request('POST', $endpoint, [
66
'auth_basic' => $this->login.':'.$this->apiKey,
67
- 'body' => [
+ 'body' => json_encode([
68
'from' => $this->from,
69
'to' => $message->getPhone(),
70
'text' => $message->getSubject(),
71
- ],
+ ]),
72
]);
73
74
try {
0 commit comments