From 42e668cf43853b331fb5f8ac25375e4857da0efe Mon Sep 17 00:00:00 2001 From: "Jill \"oatmealine\" Monoids" Date: Tue, 14 Nov 2023 18:24:22 +0300 Subject: [PATCH] fix VERY stupid typo --- src/lib/counter.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/counter.ts b/src/lib/counter.ts index 473afe4..5c04b83 100644 --- a/src/lib/counter.ts +++ b/src/lib/counter.ts @@ -69,6 +69,7 @@ export async function getCounterConfig(id: number, key: string) { const config = await db('counterConfigurations') .select('value') .where('id', id) + .where('configName', key) .first(); const valueStr = config?.value;