Commit 3f1ae227 authored by Dave Lawrence's avatar Dave Lawrence

Bug 896066 - Allow REST WebService API to for GET /product to allow retrieval of…

Bug 896066 - Allow REST WebService API to for GET /product to allow retrieval of multiple product objects instead of ids
parent b799069b
...@@ -78,7 +78,6 @@ sub get { ...@@ -78,7 +78,6 @@ sub get {
my $products = []; my $products = [];
if (defined $params->{type}) { if (defined $params->{type}) {
my %product_hash; my %product_hash;
my $found = 0;
foreach my $type (@{ $params->{type} }) { foreach my $type (@{ $params->{type} }) {
my $result = []; my $result = [];
if ($type eq 'accessible') { if ($type eq 'accessible') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment