diff --git a/app/services/curation_concerns/workflow/workflow_action_service.rb b/app/services/curation_concerns/workflow/workflow_action_service.rb index f03b03237..6bf5620dd 100644 --- a/app/services/curation_concerns/workflow/workflow_action_service.rb +++ b/app/services/curation_concerns/workflow/workflow_action_service.rb @@ -30,7 +30,7 @@ def update_sipity_workflow_state def create_sipity_comment return true unless comment_text.present? - Sipity::Comment.create!(entity: subject.entity, agent: subject.user, comment: comment_text) + Sipity::Comment.create!(entity: subject.entity, agent: subject.agent, comment: comment_text) end def handle_sipity_notifications(comment:)