Skip to content

Commit 97a0aa2

Browse files
authored
Update Connection.php
1 parent 3da013e commit 97a0aa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Kitar/Dynamodb/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public function setClient(DynamoDbClient $client)
7272
protected function createClient(array $config)
7373
{
7474
$dynamoConfig = [
75-
'region' => $config['region'],
76-
'version' => 'latest',
75+
'region' => $config['region'] ?? 'us-east-1',
76+
'version' => $config['version'] ?? 'latest',
7777
'endpoint' => $config['endpoint'] ?? null,
7878
];
7979

0 commit comments

Comments
 (0)