Skip to content

Commit

Permalink
⚡ add country to send sms method
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Besedin committed Nov 16, 2021
1 parent 6cb4ec9 commit 4488cf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cosmonova-rnd/facades",
"description": "Microservice facade collection",
"type": "library",
"version": "1.5.0",
"version": "1.6.0",
"require": {
"php": ">= 7.1.3",
"guzzlehttp/guzzle": "^6.3"
Expand Down
4 changes: 2 additions & 2 deletions src/Notifications/NotificationsFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public function sendSms(
\DateTimeImmutable $scheduleTime = null,
bool $translit,
string $accessToken,
?string $sender = null
?string $country = null
): NotificationResult {
try {
$url = $this->baseUrl . '/notifications/sms';
Expand All @@ -288,7 +288,7 @@ public function sendSms(
'receivers' => $receivers,
'text' => $text,
'subject' => $subject,
'sender' => $sender,
'country' => $country,
'placeholders' => $placeholders,
'schedule_time' => isset($scheduleTime) ? $scheduleTime->format('Y-m-d H:i:s') : null,
'translit' => $translit
Expand Down

0 comments on commit 4488cf4

Please sign in to comment.