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:
commit
1798c016dc
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue