diff --git a/invenio_records_resources/services/files/config.py b/invenio_records_resources/services/files/config.py index 562fcc75..c8d5285c 100644 --- a/invenio_records_resources/services/files/config.py +++ b/invenio_records_resources/services/files/config.py @@ -44,8 +44,8 @@ class FileServiceConfig(ServiceConfig): } file_links_item = { - "self": FileLink("{+api}/records/{id}/files/{key}"), - "content": FileLink("{+api}/records/{id}/files/{key}/content"), + "self": FileLink("{+api}/records/{id}/files/{+key}"), + "content": FileLink("{+api}/records/{id}/files/{+key}/content"), } components = [