From d5e4d55e55bf5d942d72d5a991ff2dfec651438d Mon Sep 17 00:00:00 2001 From: Lea Date: Tue, 21 Mar 2023 12:57:40 +0100 Subject: [PATCH] fix logging wrong id --- bot/src/bot/modules/antispam.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/src/bot/modules/antispam.ts b/bot/src/bot/modules/antispam.ts index 8ccefb4..d4ca347 100644 --- a/bot/src/bot/modules/antispam.ts +++ b/bot/src/bot/modules/antispam.ts @@ -120,7 +120,7 @@ const notifyPublicServers = async () => { res.forEach(async (serverConfig) => { try { - logger.info(`Sending notification to owner of server ${serverConfig._id}`); + logger.info(`Sending notification to owner of server ${serverConfig.id}`); await dbs.SERVERS.update( { id: serverConfig.id },