log connection string
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
parent
ae1b7f9ec4
commit
4cd2a365ae
@ -10,6 +10,7 @@ export default class Client {
|
||||
throw new Error('Can\'t connect to the database, missing the connection string')
|
||||
}
|
||||
if (!this.client) {
|
||||
console.log(this.connectionString)
|
||||
mongoose.connect(this.connectionString)
|
||||
this.client = true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user