Skip to content

Commit

Permalink
chore: revert fix for dependency track api url
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Neidhart committed Feb 19, 2025
1 parent 0e04f15 commit 173fbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otterdog/webapp/tasks/policies/upload_sbom.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def _upload_bom(self, bom: dict[str, Any], meta_data: Metadata) -> None:
f"to '{self._dependency_track_url}'"
)

upload_url = f"{self._dependency_track_url}/v1/bom"
upload_url = f"{self._dependency_track_url}/api/v1/bom"
async with session.put(upload_url, headers=headers, json=data) as response:
if response.status != 200:
error = await response.text()
Expand Down

0 comments on commit 173fbaf

Please sign in to comment.