Skip to content

Commit 5f72c16

Browse files
Merge pull request #236 from xengulai/getClientDynamicConnectionName
Allow connection name to be gathered dynamically
2 parents 2c7cba9 + 8827e04 commit 5f72c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DynamoDbModel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ public function setId($id)
352352
*/
353353
public function getClient()
354354
{
355-
return static::$dynamoDb->getClient($this->connection);
355+
return static::$dynamoDb->getClient($this->getConnectionName());
356356
}
357357

358358
/**

0 commit comments

Comments
 (0)