1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00

ignore AWS config when using endpoint field

This commit is contained in:
Martin McKeaveney 2022-03-25 10:35:59 +00:00
parent 8887b67ecc
commit 33506bebb4

View file

@ -131,7 +131,9 @@ module DynamoModule {
constructor(config: DynamoDBConfig) {
this.config = config
this.connect()
if (!this.config.endpoint) {
this.connect()
}
let options = {
correctClockSkew: true,
endpoint: config.endpoint ? config.endpoint : undefined,