8000 [Notifier] Fix AllMySms bridge body content · symfony/symfony@376b3e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 376b3e5

Browse files
committed
[Notifier] Fix AllMySms bridge body content
1 parent e066c3e commit 376b3e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Notifier/Bridge/AllMySms/AllMySmsTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function doSend(MessageInterface $message): SentMessage
6464
$endpoint = sprintf('https://%s/sms/send/', $this->getEndpoint());
6565
$response = $this->client->request('POST', $endpoint, [
6666
'auth_basic' => $this->login.':'.$this->apiKey,
67-
'body' => [
67+
'json' => [
6868
'from' => $this->from,
6969
'to' => $message->getPhone(),
7070
'text' => $message->getSubject(),

0 commit comments

Comments
 (0)
0