Browse Source

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

ignore AWS config when using endpoint field
master
Martin McKeaveney 5 years ago
committed by GitHub
parent
commit
cc630de7e1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/server/src/integrations/dynamodb.ts

4
packages/server/src/integrations/dynamodb.ts

@ -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,

Loading…
Cancel
Save