Fixing issue with creating new rest query.

This commit is contained in:
mike12345567 2021-12-14 11:30:50 +00:00
parent e7b9b02b9e
commit 3c114d87c7
1 changed files with 5 additions and 1 deletions

View File

@ -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",
} }
) )