mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 23:16:41 +07:00
#5 restricted db logging to debug only
This commit is contained in:
parent
70ce0bff1c
commit
2af91bbf0d
2 changed files with 7 additions and 3 deletions
|
@ -10,7 +10,7 @@ async function main() {
|
|||
try {
|
||||
const config = prepareConfig();
|
||||
|
||||
const db = new PostgresDB(config.postgres);
|
||||
const db = new PostgresDB(config.postgres, config.logger);
|
||||
await db.connect();
|
||||
|
||||
const telegram = new TelegramService(config.telegram);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue