Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7163474
D7523.id27291.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
437 B
Subscribers
None
D7523.id27291.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
@@ -447,7 +447,7 @@
config = get_config()["deposit"]
url = f"{config['private_api_url']}/{deposit_id}/meta"
- metadata = requests.get(url).json()["metadata_raw"]
+ metadata = requests.get(url).json()["raw_metadata"]
cache.set(cache_key, metadata)
return metadata
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 30, 8:50 AM (20 h, 33 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216471
Attached To
D7523: Rename metadata_raw to raw_metadata in get_deposit_raw_metadata
Event Timeline
Log In to Comment