Merge pull request #13106 from Budibase/revert-13102-fix/rest-query-viewer-nested-schema-fields

Revert "Add nestedSchemaFields to RestQueryViewer"
This commit is contained in:
Martin McKeaveney 2024-02-21 23:33:20 +02:00 committed by GitHub
commit 1798c016dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -60,7 +60,6 @@
let authConfigId
let dynamicVariables, addVariableModal, varBinding, globalDynamicBindings
let restBindings = getRestBindings()
let nestedSchemaFields = {}
$: staticVariables = datasource?.config?.staticVariables || {}
@ -161,7 +160,6 @@
newQuery.fields.authConfigId = authConfigId
newQuery.fields.disabledHeaders = restUtils.flipHeaderState(enabledHeaders)
newQuery.schema = schema || {}
newQuery.nestedSchemaFields = nestedSchemaFields || {}
return newQuery
}
@ -240,7 +238,6 @@
}
}
schema = response.schema
nestedSchemaFields = response.nestedSchemaFields
notifications.success("Request sent successfully")
}
} catch (error) {