fix db logging for opt-in

This commit is contained in:
Ean Milligan 2025-05-05 13:56:34 -04:00
parent 5da94fafa0
commit 55b2367900
1 changed files with 1 additions and 1 deletions

View File

@ -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) {