Skip to content

Commit

Permalink
fix(path): closes #15
Browse files Browse the repository at this point in the history
  • Loading branch information
robophil committed Sep 24, 2017
1 parent 54dc98a commit 2f71b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/action/db.index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const Waterline = require('waterline')
const adapters = require('./config/adapters')
const connections = require('./config/connections')
const modelConfig = require('./config/model')
const modelObject = require('require-all')('./src/models')
const modelObject = require('require-all')(require('path').resolve(__dirname) + '/src/models')

const orm = new Waterline()
const models = Object.keys(modelObject)
Expand Down

0 comments on commit 2f71b96

Please sign in to comment.