Skip to content

Commit

Permalink
use renamed template
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaelicke committed Jan 11, 2025
1 parent ce26ed3 commit 1813540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metacatalog_api/apps/explorer/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_entry_radar_xml(id: int, request: Request):
if len(entries) == 0:
raise HTTPException(status_code=404, detail=f"Entry of <ID={id}> not found")

return templates.TemplateResponse(request=request, name="entry.radar.xml", context={"entry": entries[0], "path": server.app_prefix}, media_type='application/xml')
return templates.TemplateResponse(request=request, name="entry.xml", context={"entry": entries[0], "path": server.app_prefix}, media_type='application/xml')


@explorer_router.get('/licenses.html')
Expand Down

0 comments on commit 1813540

Please sign in to comment.