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

Merge pull request #5087 from Budibase/fix/local-dynamo

ignore AWS config when using endpoint field
This commit is contained in:
Martin McKeaveney 2022-03-25 12:25:32 +00:00 committed by GitHub
commit cc630de7e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,