diff --git a/app/jobs/create_work_job.rb b/app/jobs/create_work_job.rb index 04c2a57869..d8883ac487 100644 --- a/app/jobs/create_work_job.rb +++ b/app/jobs/create_work_job.rb @@ -49,6 +49,7 @@ def batch_create_valkyrie_work(work, attributes, user) .with_step_args( 'work_resource.add_file_sets' => { uploaded_files: files }, 'change_set.set_user_as_depositor' => { user: user }, + 'work_resource.change_depositor' => { user: ::User.find_by_user_key(form.on_behalf_of) }, 'work_resource.save_acl' => { permissions_params: permissions_params } ) .call(form)