Skip to content

Commit

Permalink
shortening recombination
Browse files Browse the repository at this point in the history
  • Loading branch information
oritwoen committed Oct 16, 2019
1 parent 0fc7943 commit 07a88e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/assets/v2/js/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,7 @@ var sanitizeAPIResults = function(results, keyToIgnore) {
return results;
}

results = [results];
results[0] = sanitizeDict(results[0], keyToIgnore);
return results[0];
return sanitizeDict(results, keyToIgnore);
};

function ucwords(str) {
Expand Down

0 comments on commit 07a88e6

Please sign in to comment.