Skip to content

Commit

Permalink
use a default system user when creating the default admin set
Browse files Browse the repository at this point in the history
  • Loading branch information
elrayle committed Aug 24, 2021
1 parent b33f4d1 commit 568a916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/hyrax/admin_set_create_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 568a916

Please sign in to comment.