diff --git a/src/utils/network.ts b/src/utils/network.ts index 5ce0a36..f316a00 100644 --- a/src/utils/network.ts +++ b/src/utils/network.ts @@ -576,7 +576,7 @@ export function interceptHttpRequests() { const response = await NATIVE_FETCH(request, init); const json = await response.json(); - if (json && json.exp && json.treatments) { + if (json && json.exp && json.exp.treatments) { for (const key in FeatureGates) { json.exp.treatments[key] = FeatureGates[key] }