Skip to content

Commit

Permalink
fix db connection
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisSenicourt committed May 15, 2024
1 parent aed8719 commit d68dab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/database.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { Sequelize } = require('sequelize');

const sequelize = new Sequelize('ycap', 'root', '', {
const sequelize = new Sequelize('YCAPDB', 'YCAPDBUSER', process.env.DB_PASSWORD, {
host: 'localhost',
dialect: 'mysql'
});
Expand Down

0 comments on commit d68dab5

Please sign in to comment.