Skip to content

Commit 3176215

Browse files
committed
bugfix - assignment to const variable
1 parent e268d17 commit 3176215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ app.use(cors());
3333
app.use(morgan("combined"));
3434

3535
async function connectToMongoDb(counter) {
36-
const mongoUri = app.config.mongoUrl;
36+
let mongoUri = app.config.mongoUrl;
3737
if (!mongoUri) {
3838
mongoUri = process.env.MONGO_URL;
3939
}

0 commit comments

Comments
 (0)