Use toLowerCase for config values

Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2025-09-03 16:49:33 -05:00
committed by GitHub
parent c8bb4a93ad
commit 8c7ee0bbd5

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'],