diff --git a/src/index.ts b/src/index.ts index fe1b866..235c743 100644 --- a/src/index.ts +++ b/src/index.ts @@ -74,7 +74,7 @@ export default class Config { const settings = deepToFlatObject(json); for (const key of Object.keys(settings)) { - const value = json[key]; + const value = settings[key]; let keyPath = key.split("."); let isArray =