We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40cc1f0 commit a696823Copy full SHA for a696823
resource_catalogue_fastapi/__init__.py
@@ -327,7 +327,8 @@ async def get_thumbnail(collection: str, item: str):
327
item_response.raise_for_status()
328
item_data = item_response.json()
329
330
- thumbnail_link = item_data.get("assets").get("external_thumbnail")
+ # TODO: change to external thumbnail link after testing
331
+ thumbnail_link = item_data.get("assets").get("thumbnail")
332
if not thumbnail_link:
333
raise HTTPException(status_code=404, detail="External thumbnail link not found in item")
334
0 commit comments