chore: fix rubocop

This commit is contained in:
Sojan 2022-12-19 19:04:01 +05:30
parent 4f75175ce6
commit 9974899267

View file

@ -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