From 91cd42583ecfef1eb6716dbd939e0ff3f413af58 Mon Sep 17 00:00:00 2001 From: Bruno Shiohei <89222572+shioheii@users.noreply.github.com> Date: Wed, 9 Apr 2025 00:23:13 -0300 Subject: [PATCH] fix: Removing repetitive name parameter in AgentsController (#11259) Co-authored-by: Sojan Jose --- app/controllers/api/v1/accounts/agents_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/accounts/agents_controller.rb b/app/controllers/api/v1/accounts/agents_controller.rb index 01aa42620..438944f04 100644 --- a/app/controllers/api/v1/accounts/agents_controller.rb +++ b/app/controllers/api/v1/accounts/agents_controller.rb @@ -72,7 +72,7 @@ class Api::V1::Accounts::AgentsController < Api::V1::Accounts::BaseController end def allowed_agent_params - [:name, :email, :name, :role, :availability, :auto_offline] + [:name, :email, :role, :availability, :auto_offline] end def agent_params