chore: fix rubocop
This commit is contained in:
parent
4f75175ce6
commit
9974899267
1 changed files with 2 additions and 1 deletions
|
@ -52,6 +52,7 @@ module AssignmentHandler
|
||||||
|
|
||||||
def process_participant_assignment
|
def process_participant_assignment
|
||||||
return unless saved_change_to_assignee_id? && assignee_id.present?
|
return unless saved_change_to_assignee_id? && assignee_id.present?
|
||||||
self.conversation_participants.find_or_create_by!(user_id: assignee_id)
|
|
||||||
|
conversation_participants.find_or_create_by!(user_id: assignee_id)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue