File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -96,14 +96,14 @@ class ServerlessDynamodbLocal {
96
96
97
97
dynamodbOptions ( ) {
98
98
const { config } = this ;
99
- const port = _ . get ( config , 'start.port' , 8000 ) :
99
+ const port = _ . get ( config , 'start.port' , 8000 ) ;
100
100
const dynamoOptions = {
101
101
endpoint : `http://localhost:${ port } ` ,
102
102
region : "localhost" ,
103
103
accessKeyId : "MOCK_ACCESS_KEY_ID" ,
104
104
secretAccessKey : "MOCK_SECRET_ACCESS_KEY"
105
105
} ;
106
-
106
+
107
107
return {
108
108
raw : new AWS . DynamoDB ( dynamoOptions ) ,
109
109
doc : new AWS . DynamoDB . DocumentClient ( dynamoOptions )
@@ -139,7 +139,6 @@ class ServerlessDynamodbLocal {
139
139
140
140
startHandler ( ) {
141
141
const { config } = this ;
142
- const config = this . service . custom . dynamodb ;
143
142
const options = _ . merge ( {
144
143
sharedDb : this . options . sharedDb || true
145
144
} ,
You can’t perform that action at this time.
0 commit comments