Skip to content

Commit 1720cb7

Browse files
authored
Correction of get product list by name (#75)
Removes the "/" at the end of the request to make the request work
1 parent 0a964bf commit 1720cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

defectdojo_api/defectdojo_apiv2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def get_product_list_by_name(self, product_name):
393393
# Retrieves a product list by using the product name
394394
#Note (search is made with Like.
395395

396-
return self._request('GET', 'products/?name=' + str(product_name) + '/')
396+
return self._request('GET', 'products/?name=' + str(product_name))
397397

398398

399399
def create_product(self, name, description, prod_type):

0 commit comments

Comments
 (0)