Skip to content

Commit

Permalink
Corretto errore seed Mongoose.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard1984 committed Mar 19, 2019
1 parent 9e98d92 commit 0436aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/config/seed/seed.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { yellow, green, red } = require('colors')
const mongoose = require('../mongoose')
const mongoose = require('../../lib/mongoose')

mongoose.connection.once('open', async () => {
mongoose.connection.db.listCollections().toArray(async (err, collections) => {
Expand Down

0 comments on commit 0436aa1

Please sign in to comment.