Skip to content

Commit

Permalink
Fix: default vale for parameters should be [] and not {}
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed Jun 14, 2016
1 parent 9ad8509 commit b0c0582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rd_ui/app/scripts/services/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@
this.cachedQueryText = this.query.query;
var parameterNames = this.parseQuery();

this.query.options.parameters = this.query.options.parameters || {};
this.query.options.parameters = this.query.options.parameters || [];

var parametersMap = {};
_.each(this.query.options.parameters, function(param) {
Expand Down

0 comments on commit b0c0582

Please sign in to comment.