Use toLowerCase for config values

This commit is contained in:
ayumi-signal
2025-09-03 14:36:01 -07:00
committed by GitHub
parent e122a106a3
commit 40bdb34fd4

View File

@@ -132,7 +132,7 @@ export const _refreshRemoteConfig = async (
const oldConfig = config;
config = Array.from(newConfigValues.entries()).reduce(
(acc, [name, value]) => {
const enabled = value !== undefined && value !== 'false';
const enabled = value !== undefined && value.toLowerCase() !== 'false';
const previouslyEnabled: boolean = get(
oldConfig,
[name, 'enabled'],