fix VERY stupid typo
This commit is contained in:
parent
9a3f30bf65
commit
42e668cf43
|
@ -69,6 +69,7 @@ export async function getCounterConfig(id: number, key: string) {
|
||||||
const config = await db<CounterConfiguration>('counterConfigurations')
|
const config = await db<CounterConfiguration>('counterConfigurations')
|
||||||
.select('value')
|
.select('value')
|
||||||
.where('id', id)
|
.where('id', id)
|
||||||
|
.where('configName', key)
|
||||||
.first();
|
.first();
|
||||||
|
|
||||||
const valueStr = config?.value;
|
const valueStr = config?.value;
|
||||||
|
|
Loading…
Reference in New Issue