diff --git a/app/services/hyrax/admin_set_create_service.rb b/app/services/hyrax/admin_set_create_service.rb index 2a1d069e5f..02c0435848 100644 --- a/app/services/hyrax/admin_set_create_service.rb +++ b/app/services/hyrax/admin_set_create_service.rb @@ -90,7 +90,7 @@ def call!(admin_set:, creating_user:, **kwargs) # longer be required. def create_default_admin_set!(admin_set_id: DEFAULT_ID, title: DEFAULT_TITLE) admin_set = Hyrax::AdministrativeSet.new(id: admin_set_id, title: Array.wrap(title)) - new(admin_set: admin_set, creating_user: nil).create! + new(admin_set: admin_set, creating_user: ::User.audit_user).create! end end