diff --git a/api/preprints/views.py b/api/preprints/views.py index 8b72bef4ca7..ea6f359b0f2 100644 --- a/api/preprints/views.py +++ b/api/preprints/views.py @@ -208,7 +208,7 @@ def perform_update(self, serializer): action=PreprintLog.FILE_UPDATED, params={ 'preprint': instance._id, - 'file': instance.primary_file._id + 'file': instance.primary_file._id, }, auth=auth, )