Page MenuHomeSoftware Heritage

D7533.diff
No OneTemporary

D7533.diff

diff --git a/swh/web/common/utils.py b/swh/web/common/utils.py
--- a/swh/web/common/utils.py
+++ b/swh/web/common/utils.py
@@ -495,7 +495,7 @@
@django_cache()
def get_deposit_raw_metadata(deposit_id: int) -> Optional[str]:
config = get_config()["deposit"]
- url = f"{config['private_api_url']}/{deposit_id}/meta"
+ url = f"{config['private_api_url']}/{deposit_id}/meta/"
return requests.get(url).json()["raw_metadata"]

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 17, 3:46 PM (2 d, 20 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216493

Event Timeline