Skip to content

Commit dc06548

Browse files
author
Thomas Scherz
committed
Remove parameters from AttachWork Job.
1 parent c33ab9c commit dc06548

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/jobs/attach_files_to_work_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def attach_work(user, work, work_attributes, work_permissions, uploaded_file)
3737
actor.file_set.permissions_attributes = work_permissions
3838
actor.create_metadata(metadata)
3939
actor.create_content(uploaded_file)
40-
actor.attach_to_work(work, metadata)
40+
actor.attach_to_work
4141
end
4242

4343
def create_permissions(work, depositor)

0 commit comments

Comments
 (0)