Skip to content

Commit a29779b

Browse files
author
Benjamin Krull
committed
fix: duplicate query param
1 parent 92cd826 commit a29779b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sw360/components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def get_component_by_name(
165165
:raises SW360Error: if there is a negative HTTP response
166166
"""
167167

168-
fullbase_url = self.url + "resource/api/components?name=" + component_name
168+
fullbase_url = self.url + "resource/api/components"
169169
params = {"name": component_name}
170170

171171
if page > -1:

0 commit comments

Comments
 (0)