Skip to content

Commit d4bda10

Browse files
glaubersatiropatrickcarlohickman
authored andcommitted
Strip token from root config options on aws clients
1 parent 5349b15 commit d4bda10

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Queue/Connectors/SqsFifoConnector.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ public function connect(array $config)
3636
$allowDelay = (bool)Arr::pull($config, 'allow_delay', false);
3737

3838
return new SqsFifoQueue(
39-
new SqsClient($config),
39+
new SqsClient(
40+
Arr::except($config, ['token'])
41+
),
4042
$config['queue'],
4143
$config['prefix'] ?? '',
4244
$config['suffix'] ?? '',

0 commit comments

Comments
 (0)