We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b30f8e commit f6f0c13Copy full SHA for f6f0c13
1 file changed
apps/backend/src/app/api/latest/internal/config/override/[level]/route.tsx
@@ -183,7 +183,7 @@ async function parseAndValidateConfig(
183
}
184
185
async function warnOnValidationFailure(
186
- levelConfig: typeof levelConfigs["branch" | "environment" | "project"],
+ levelConfig: typeof levelConfigs[keyof typeof levelConfigs],
187
options: { projectId: string, branchId: string, config: any },
188
) {
189
if (!("validate" in levelConfig)) return;
0 commit comments