Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123011
D7533.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
442 B
Subscribers
None
D7533.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 17, 3:46 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216493
Attached To
D7533: moderation: Maybe fix deposit url access to metadata
Event Timeline
Log In to Comment