Skip to content

Commit 01d2c21

Browse files
authored
Merge pull request #10 from iurciuc/master
Update with_answers parameter name
2 parents ae82b26 + 3bd3c30 commit 01d2c21

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

curl-examples/send-sms-campaign.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'purpose' => 'wholesale',
1313
'sender' => 'SMS',
1414
'send_at' => '2020-10-03T07:42:39-07:00',
15-
'with_answers' => false,
15+
'with_replies' => false,
1616
];
1717

1818
/*
@@ -23,7 +23,7 @@
2323
"purpose":"wholesale",
2424
"sender":"SMS",
2525
"send_at":"2020-10-03T07:42:39-07:00",
26-
"with_answers":false
26+
"with_replies":false
2727
}
2828
*/
2929
$jsonEncodedPayload = json_encode($payload);

src/Request/SmsCampaign/SendSmsCampaignRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getQueryArray(): array
5555
'type' => $this->type,
5656
'purpose' => $this->purpose,
5757
'sender' => $this->sender,
58-
'with_answers' => $this->withReplies,
58+
'with_replies' => $this->withReplies,
5959
'send_at' => $this->sendAt->format(DateTime::ATOM),
6060
],
6161
];

0 commit comments

Comments
 (0)