/**
 * Created by Liam Vovk on 2017-05-04.
 */

require('dotenv').config()
let mongoose = require('mongoose')
let connectionString = require('../config/connection_string')
mongoose.Promise = require('bluebird')

module.exports = mongoose.connect(connectionString)

/**
 * Created by Liam Vovk on 2017-05-04.
 */

let mongoose = require('mongoose')
let connectionString = require('../config/connection_string')
mongoose.Promise = require('bluebird')

module.exports = mongoose.connect(connectionString)

Remove un necessary .env load
Remove un necessary .env load
