Filter for live conversations

This commit is contained in:
Pranav
2024-02-13 14:36:04 -08:00
parent 1a272e7a18
commit bcd5633d2a
11 changed files with 288 additions and 52 deletions
@@ -42,7 +42,7 @@ class Api::V2::Accounts::LiveReportsController < Api::V1::Accounts::BaseControll
def team
return unless permitted_params[:team_id]
@team ||= Current.account.teams.find_by(permitted_params[:team_id])
@team ||= Current.account.teams.find(permitted_params[:team_id])
end
def load_conversations