Skip to content

Commit ab5f525

Browse files
author
palPalani
committed
Merge cs
1 parent 618e81d commit ab5f525

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/SqsQueueReaderServiceProvider.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Aws\Exception\AwsException;
66
use Aws\Sqs\SqsClient;
77
use Illuminate\Queue\Events\JobProcessed;
8+
use Illuminate\Support\Arr;
89
use Illuminate\Support\Facades\Config;
910
use Illuminate\Support\Facades\Log;
1011
use Illuminate\Support\Facades\Queue;
@@ -46,6 +47,7 @@ public function boot(): void
4647
//'profile' => 'default',
4748
'region' => Config::get('queue.connections.sqs-json.region'),
4849
'version' => '2012-11-05',
50+
'credentials' => Arr::only(Config::get('queue.connections.sqs-json'), ['key', 'secret'])
4951
]);
5052

5153
foreach ($batchIds as $batch) {

0 commit comments

Comments
 (0)