Skip to content
Snippets Groups Projects
Commit 656deba9 authored by Lucas Gabriel Lima's avatar Lucas Gabriel Lima
Browse files

fix mongoose promise error

parent 4d904309
No related branches found
No related tags found
1 merge request!20Auth
Pipeline #
......@@ -6,6 +6,8 @@ const log = require(`${libs}/log`)(module);
const mongoose = require('mongoose');
mongoose.Promise = global.Promise;
module.exports = () => {
const mongoUri = config.get('mongodb:uri');
log.debug(`Connecting to MongDB on URI ${mongoUri}`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment