chore: rename from team_entites to team_entities

This commit is contained in:
Muhsin Keloth
2024-05-10 15:16:56 +05:30
parent b25e395bf7
commit 4d47fc1c25
10 changed files with 71 additions and 20 deletions
@@ -8,9 +8,9 @@ class Api::V1::Accounts::Integrations::LinearController < Api::V1::Accounts::Bas
end
end
def team_entites
def team_entities
team_id = params[:team_id]
entites = linear_processor_service.team_entites(team_id)
entites = linear_processor_service.team_entities(team_id)
if entites.is_a?(Hash) && entites[:error]
render json: { error: entites[:error] }, status: :unprocessable_entity
else