Browse Source

ignore AWS config when using endpoint field

master
Martin McKeaveney 5 years ago
parent
commit
33506bebb4
  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