Skip to content
Permalink
Browse files

Fix config path

  • Loading branch information...
nlaz committed Mar 1, 2019
1 parent 3ef1a08 commit 6cbb0d3b1ba27559d13820baec57ae787086627b
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/index.js
@@ -5,7 +5,7 @@ const path = require("path");
const Sequelize = require("sequelize");
const basename = path.basename(__filename);
const env = process.env.NODE_ENV || "development";
const config = require(__dirname + "/../../config/databases.json")[env];
const config = require("../../config/databases.json")[env];
const db = {};

let sequelize;

0 comments on commit 6cbb0d3

Please sign in to comment.
You can’t perform that action at this time.