Skip to content

Commit

Permalink
quick fix for array container access
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmerz committed Mar 9, 2021
1 parent 7c86a2d commit 6566481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-utils/models/applications.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class ApplicationsModel extends ElasticSearchModel {
function asArray(val) {
if( val === undefined ) return [];
if( Array.isArray(val) ) return val;
return [...val];
return [val];
}

module.exports = new ApplicationsModel();

0 comments on commit 6566481

Please sign in to comment.