inveniosoftware / invenio-files-rest

REST API for uploading/downloading files for Invenio.
https://invenio-files-rest.readthedocs.io
MIT License
9 stars 67 forks source link

models: add a fix to the sync method #273

Closed zzacharo closed 2 years ago

ntarocco commented 2 years ago

@zzacharo I found another issues with the signals (change of method signature?), we have to change: file_downloaded.send(obj) to file_downloaded.send(obj=obj) and check the other signals too. Here is the commit that broke it: https://github.com/inveniosoftware/invenio-files-rest/commit/f309ca0e506c8aff8141abc6a715134353d4b66b