fix VERY stupid typo

This commit is contained in:
Jill 2023-11-14 18:24:22 +03:00
parent 9a3f30bf65
commit 42e668cf43
Signed by: oat
GPG Key ID: 33489AA58A955108
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ export async function getCounterConfig(id: number, key: string) {
const config = await db<CounterConfiguration>('counterConfigurations')
.select('value')
.where('id', id)
.where('configName', key)
.first();
const valueStr = config?.value;