chore: Add assigned option to conversation finder API (#2630)
- Adds the ability to filter all the conversations which are assigned - Add rack timeout gem - Remove size attribute from Sidekiq config
This commit is contained in:
@@ -73,6 +73,8 @@ class ConversationFinder
|
||||
@conversations = @conversations.assigned_to(current_user)
|
||||
when 'unassigned'
|
||||
@conversations = @conversations.unassigned
|
||||
when 'assigned'
|
||||
@conversations = @conversations.where.not(assignee_id: nil)
|
||||
end
|
||||
@conversations
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user