Skip to content

Commit

Permalink
fix: remove test var and console log
Browse files Browse the repository at this point in the history
  • Loading branch information
harishv7 committed Sep 20, 2023
1 parent 82845d0 commit 29023e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,12 +421,6 @@ const config = convict({
default: "",
},
},
testVar: {
doc: "Test variable",
env: "TEST_VAR",
format: "required-string",
default: "",
},
})

// Perform validation
Expand Down
2 changes: 0 additions & 2 deletions src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,6 @@ app.use((req, res, next) => {
// error handler
app.use(errorHandler)

logger.info(`PRINTING OUT TEST VAR 2: ${config.get("testVar")}`)

logger.info("Connecting to Sequelize")
sequelize
.authenticate()
Expand Down

0 comments on commit 29023e8

Please sign in to comment.