diff --git a/src/backend/scrobblers/ScrobbleClients.ts b/src/backend/scrobblers/ScrobbleClients.ts index 4e278e0e..2804ecab 100644 --- a/src/backend/scrobblers/ScrobbleClients.ts +++ b/src/backend/scrobblers/ScrobbleClients.ts @@ -188,7 +188,7 @@ export default class ScrobbleClients { const envSchema = await getClientEnvSchema(clientType); const configTypeUpper = envSchema.prefix.toUpperCase(); - const clientKeys = envKeys.filter(x => x.startsWith(configTypeUpper)); + const clientKeys = envKeys.filter(x => x.startsWith(`${configTypeUpper}_`)); if (clientKeys.length > 0) { clientUnparsedConfigs.push({ config: pick(process.env, ...clientKeys), diff --git a/src/backend/sources/ScrobbleSources.ts b/src/backend/sources/ScrobbleSources.ts index a10e29ac..4ca8800f 100644 --- a/src/backend/sources/ScrobbleSources.ts +++ b/src/backend/sources/ScrobbleSources.ts @@ -207,7 +207,7 @@ export default class ScrobbleSources { const envSchema = await getSourceEnvSchema(configType); const configTypeUpper = envSchema.prefix.toUpperCase(); - const configKeys = envKeys.filter(x => x.startsWith(configTypeUpper)); + const configKeys = envKeys.filter(x => x.startsWith(`${configTypeUpper}_`)); if (configKeys.length > 0) { sourceUnparsedConfigs.push({ config: pick(process.env, ...configKeys),