Fixing issue with creating new rest query.
This commit is contained in:
parent
e7b9b02b9e
commit
3c114d87c7
|
@ -65,7 +65,11 @@
|
||||||
$queries.list.find(q => q._id === $queries.selected) || {
|
$queries.list.find(q => q._id === $queries.selected) || {
|
||||||
datasourceId: $params.selectedDatasource,
|
datasourceId: $params.selectedDatasource,
|
||||||
parameters: [],
|
parameters: [],
|
||||||
fields: {},
|
fields: {
|
||||||
|
// only init the objects, everything else is optional strings
|
||||||
|
disabledHeaders: {},
|
||||||
|
headers: {},
|
||||||
|
},
|
||||||
queryVerb: "read",
|
queryVerb: "read",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue