Skip to content

Commit 6ce3e30

Browse files
authored
Use new /collect/index_packages/ endpoint to populate PurlDB (#1084)
For more details see: aboutcode-org/purldb#223 Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 387eadc commit 6ce3e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scanpipe/pipes/purldb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def submit_purls(packages, timeout=DEFAULT_TIMEOUT, api_url=PURLDB_API_URL):
196196
data = json.dumps(payload)
197197

198198
response = request_post(
199-
url=f"{api_url}packages/index_packages/",
199+
url=f"{api_url}collect/index_packages/",
200200
data=data,
201201
timeout=timeout,
202202
headers=headers,

0 commit comments

Comments
 (0)