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

Commit 2bf3e7d

Browse files
committed
Release challenge test
1 parent e66adcc commit 2bf3e7d

File tree

5 files changed

+152
-161
lines changed

5 files changed

+152
-161
lines changed

config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ module.exports = {
2828
AWS_ACCESS_KEY_ID: process.env.AWS_ACCESS_KEY_ID || '',
2929
AWS_SECRET_ACCESS_KEY: process.env.AWS_SECRET_ACCESS_KEY || '',
3030
AWS_REGION: process.env.AWS_REGION || '',
31-
IS_LOCAL: process.env.IS_LOCAL || ''
31+
IS_LOCAL: process.env.IS_LOCAL || 'false'
3232
}
3333
};

configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The following config parameters are supported, they are defined in `config/defau
1414
|AWS_ACCESS_KEY_ID | The Amazon certificate key to use when connecting. Use local dynamodb you can set fake value|FAKE_ACCESS_KEY_ID |
1515
|AWS_SECRET_ACCESS_KEY | The Amazon certificate access key to use when connecting. Use local dynamodb you can set fake value|FAKE_SECRET_ACCESS_KEY |
1616
|AWS_REGION | The Amazon certificate region to use when connecting. Use local dynamodb you can set fake value|FAKE_REGION |
17-
|IS_LOCAL | Use Amazon DynamoDB Local or server |true|
17+
|IS_LOCAL | Use Amazon DynamoDB Local or server | 'false' |
1818

1919
KAFKA_OPTIONS should be object as described in https://github.com/oleksiyk/kafka#ssl
2020
For using with SSL, the options should be as

models/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dynamoose.AWS.config.update({
1919
region: config.DYNAMODB.AWS_REGION
2020
});
2121

22-
if (config.DYNAMODB.IS_LOCAL) {
22+
if (config.DYNAMODB.IS_LOCAL === 'true') {
2323
dynamoose.local();
2424
}
2525

0 commit comments

Comments
 (0)