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 {
9696
9797 dynamodbOptions ( ) {
9898 const { config } = this ;
99- const port = _ . get ( config , 'start.port' , 8000 ) :
99+ const port = _ . get ( config , 'start.port' , 8000 ) ;
100100 const dynamoOptions = {
101101 endpoint : `http://localhost:${ port } ` ,
102102 region : "localhost" ,
103103 accessKeyId : "MOCK_ACCESS_KEY_ID" ,
104104 secretAccessKey : "MOCK_SECRET_ACCESS_KEY"
105105 } ;
106-
106+
107107 return {
108108 raw : new AWS . DynamoDB ( dynamoOptions ) ,
109109 doc : new AWS . DynamoDB . DocumentClient ( dynamoOptions )
@@ -139,7 +139,6 @@ class ServerlessDynamodbLocal {
139139
140140 startHandler ( ) {
141141 const { config } = this ;
142- const config = this . service . custom . dynamodb ;
143142 const options = _ . merge ( {
144143 sharedDb : this . options . sharedDb || true
145144 } ,
You can’t perform that action at this time.
0 commit comments