Revert "Add nestedSchemaFields to RestQueryViewer (#13102)"
This reverts commit 13b34cf77e
.
This commit is contained in:
parent
94f7d385e1
commit
6545af12fa
|
@ -60,7 +60,6 @@
|
||||||
let authConfigId
|
let authConfigId
|
||||||
let dynamicVariables, addVariableModal, varBinding, globalDynamicBindings
|
let dynamicVariables, addVariableModal, varBinding, globalDynamicBindings
|
||||||
let restBindings = getRestBindings()
|
let restBindings = getRestBindings()
|
||||||
let nestedSchemaFields = {}
|
|
||||||
|
|
||||||
$: staticVariables = datasource?.config?.staticVariables || {}
|
$: staticVariables = datasource?.config?.staticVariables || {}
|
||||||
|
|
||||||
|
@ -161,7 +160,6 @@
|
||||||
newQuery.fields.authConfigId = authConfigId
|
newQuery.fields.authConfigId = authConfigId
|
||||||
newQuery.fields.disabledHeaders = restUtils.flipHeaderState(enabledHeaders)
|
newQuery.fields.disabledHeaders = restUtils.flipHeaderState(enabledHeaders)
|
||||||
newQuery.schema = schema || {}
|
newQuery.schema = schema || {}
|
||||||
newQuery.nestedSchemaFields = nestedSchemaFields || {}
|
|
||||||
|
|
||||||
return newQuery
|
return newQuery
|
||||||
}
|
}
|
||||||
|
@ -240,7 +238,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
schema = response.schema
|
schema = response.schema
|
||||||
nestedSchemaFields = response.nestedSchemaFields
|
|
||||||
notifications.success("Request sent successfully")
|
notifications.success("Request sent successfully")
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Reference in New Issue