Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 4eac8bd

Browse files
committed
Fix up the config to use the access key and secret from the config.
1 parent 481dbad commit 4eac8bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

models/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ const config = require('config');
1414
const dynamoose = require('dynamoose');
1515

1616
dynamoose.AWS.config.update({
17+
accessKeyId: config.DYNAMODB.AWS_ACCESS_KEY_ID,
18+
secretAccessKey: config.DYNAMODB.AWS_SECRET_ACCESS_KEY,
1719
region: config.DYNAMODB.AWS_REGION
1820
});
1921

0 commit comments

Comments
 (0)