From 36f774f8cb8b1d16b1a1c610ca94493e1ad2d1c4 Mon Sep 17 00:00:00 2001 From: Arman Yeghiazaryan Date: Thu, 31 Oct 2024 01:25:28 +0400 Subject: [PATCH] setting default region Co-authored-by: datashaman --- src/ServiceBusSQSChannel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServiceBusSQSChannel.php b/src/ServiceBusSQSChannel.php index ecf706a..726da82 100644 --- a/src/ServiceBusSQSChannel.php +++ b/src/ServiceBusSQSChannel.php @@ -25,7 +25,7 @@ public function __construct(array $config = []) protected function initializeSqsClient(): void { $this->sqs = new SqsClient([ - 'region' => Arr::get($this->config, 'sqs.region'), + 'region' => Arr::get($this->config, 'sqs.region', 'eu-west-1'), 'version' => 'latest', 'credentials' => [ 'key' => Arr::get($this->config, 'sqs.key'),