diff --git a/lib/hyrax/transactions/steps/delete_resource.rb b/lib/hyrax/transactions/steps/delete_resource.rb index 481010dc59..ab072ef020 100644 --- a/lib/hyrax/transactions/steps/delete_resource.rb +++ b/lib/hyrax/transactions/steps/delete_resource.rb @@ -27,8 +27,8 @@ def initialize(persister: Hyrax.persister, publisher: Hyrax.publisher) def call(resource, user: nil) return Failure(:resource_not_persisted) unless resource.persisted? - @persister.delete(resource: resource) publish_changes(resource: resource, user: user) + @persister.delete(resource: resource) Success(resource) end