Skip to content

Conversation

@zubair-saif
Copy link

i have added some code improvement and removed unnecessary package which is not being used anymore in app like bodyParser and added new package dotenv please review my code and merge it into master branch thanks

@@ -1,8 +1,4 @@
module.exports = {
HOST: "localhost",
USER: "postgres",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i just added string in connection that's why i removed

});
}

jwt.verify(token, config.secret, (err, decoded) => {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added secret from env file

@bezkoder bezkoder force-pushed the master branch 2 times, most recently from ef99036 to b265237 Compare May 27, 2021 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants