Skip to content

Commit

Permalink
files: updated urls for published files
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatimah authored and zzacharo committed Oct 26, 2023
1 parent 73acd56 commit e765d93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions invenio_records_resources/services/files/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit e765d93

Please sign in to comment.