From 6cb5aef9d0afae4314b3777148a4b7da8c14f469 Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 3 Mar 2021 20:25:54 +0000 Subject: [PATCH] logging --- src/database/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/index.js b/src/database/index.js index 52e830b..90d8c6d 100644 --- a/src/database/index.js +++ b/src/database/index.js @@ -49,7 +49,7 @@ module.exports = async (log) => { dialect: types[type].dialect, host: DB_HOST, port: DB_PORT, - logging: log.debug + logging: text => log.debug(text) }); }