Skip to content

Commit

Permalink
Correct JS requestConfig call
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Grey committed Oct 12, 2024
1 parent ecceb4e commit 8cf894b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/webconfig/js/hyperion.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ async function requestServiceDiscovery(type, params) {
async function requestConfig(globalTypes, instances, instanceTypes) {
let globalFilter = { "global": { "types": globalTypes } };
let instanceFilter = { "instances": { "ids": instances, "types": instanceTypes } };
let filter = { "configFilter" : globalFilter, instanceFilter };
let filter = { "configFilter" : { globalFilter, instanceFilter} };

return sendAsyncToHyperion("config", "getconfig", filter);
}
Expand Down

0 comments on commit 8cf894b

Please sign in to comment.