mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-12-29 23:03:02 +05:00
refactor: skipped logger in mongooseadapter
This commit is contained in:
parent
d0b4a13a2e
commit
5deee996dc
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,6 @@ export default class MongooseAdapter extends IDatabaseAdapter {
|
||||||
|
|
||||||
async disconnect() {
|
async disconnect() {
|
||||||
await mongoose.disconnect();
|
await mongoose.disconnect();
|
||||||
console.warn("Database disconnected.");
|
logger.warn("Database disconnected.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue