ignore AWS config when using endpoint field
This commit is contained in:
parent
8887b67ecc
commit
33506bebb4
|
@ -131,7 +131,9 @@ module DynamoModule {
|
|||
|
||||
constructor(config: DynamoDBConfig) {
|
||||
this.config = config
|
||||
if (!this.config.endpoint) {
|
||||
this.connect()
|
||||
}
|
||||
let options = {
|
||||
correctClockSkew: true,
|
||||
endpoint: config.endpoint ? config.endpoint : undefined,
|
||||
|
|
Loading…
Reference in New Issue