Skip to content

Commit

Permalink
Merge branch '10.x' of https://github.com/robchett/framework into aws…
Browse files Browse the repository at this point in the history
…-creds
  • Loading branch information
taylorotwell committed Nov 26, 2024
2 parents 544d175 + bb0248b commit 002f745
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions BusServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ protected function registerBatchServices()
];

if (! empty($config['key']) && ! empty($config['secret'])) {
$dynamoConfig['credentials'] = Arr::only(
$config,
['key', 'secret', 'token']
);
$dynamoConfig['credentials'] = Arr::only($config, ['key', 'secret']);
if (! empty($config['token'])) {
$dynamoConfig['credentials']['token'] = $config['token'];
}
}

return new DynamoBatchRepository(
Expand Down

0 comments on commit 002f745

Please sign in to comment.