From 997489926741772590b6a161a11512c11bcf7911 Mon Sep 17 00:00:00 2001 From: Sojan Date: Mon, 19 Dec 2022 19:04:01 +0530 Subject: [PATCH] chore: fix rubocop --- app/models/concerns/assignment_handler.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/concerns/assignment_handler.rb b/app/models/concerns/assignment_handler.rb index 9f9b7a79e..cf4ef123e 100644 --- a/app/models/concerns/assignment_handler.rb +++ b/app/models/concerns/assignment_handler.rb @@ -52,6 +52,7 @@ module AssignmentHandler def process_participant_assignment 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