From 55b2367900f7cdac37039c84127b5b5b3dce554c Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Mon, 5 May 2025 13:56:34 -0400 Subject: [PATCH] fix db logging for opt-in --- src/commands/optIn.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/optIn.ts b/src/commands/optIn.ts index 9b9992a..9d12af9 100644 --- a/src/commands/optIn.ts +++ b/src/commands/optIn.ts @@ -11,7 +11,7 @@ import utils from 'utils/utils.ts'; export const optIn = async (message: DiscordenoMessage) => { // Light telemetry to see how many times a command is being run - dbClient.execute(queries.callIncCnt('opt-out')).catch((e) => utils.commonLoggers.dbError('optIn.ts:11', 'call sproc INC_CNT on', e)); + dbClient.execute(queries.callIncCnt('opt-in')).catch((e) => utils.commonLoggers.dbError('optIn.ts:11', 'call sproc INC_CNT on', e)); const idIdx = ignoreList.indexOf(message.authorId); if (idIdx !== -1) {