Skip to content

Commit

Permalink
fix bug with Nigerianbulksms gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
tekkenking committed Feb 14, 2024
1 parent 2b3e205 commit aca621b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/swissecho.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
'auth' => [
'username' => env('NIGERIANBULKSMS_USERNAME'),
'password' => env('NIGERIANBULKSM_PASSWORD'),
]
],
'url' => env('NIGERIANBULKSMS_URL', 'https://portal.nigeriabulksms.com/api/'),
],
/*'vonage' => [
'class' => \App\Libs\Vonage\Sms\Send::class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function init(): mixed
'verbose' => 'true'
];

$url = $this->url."?username={$pd['username']}&password={$pd['password']}&message={$pd['message']}&sender={$pd['sender']}&mobiles={$pd['mobiles']}&verbose={$pd['verbose']}";
$url = $this->config['url']."?username={$pd['username']}&password={$pd['password']}&message={$pd['message']}&sender={$pd['sender']}&mobiles={$pd['mobiles']}&verbose={$pd['verbose']}";

return $url;
}
Expand Down

0 comments on commit aca621b

Please sign in to comment.