From b04b67f148561038e29d75aa4b14895386ef3748 Mon Sep 17 00:00:00 2001 From: gabrieljablonski Date: Wed, 5 Mar 2025 22:00:04 -0300 Subject: [PATCH] style: fix linting offense --- .../api/v1/accounts/captain/bulk_actions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise/app/controllers/api/v1/accounts/captain/bulk_actions_controller.rb b/enterprise/app/controllers/api/v1/accounts/captain/bulk_actions_controller.rb index 3130a68cc..5d6875cbb 100644 --- a/enterprise/app/controllers/api/v1/accounts/captain/bulk_actions_controller.rb +++ b/enterprise/app/controllers/api/v1/accounts/captain/bulk_actions_controller.rb @@ -19,7 +19,7 @@ class Api::V1::Accounts::Captain::BulkActionsController < Api::V1::Accounts::Bas end def type_matches? - return if MODEL_TYPE.include?(params[:type]) + return false if MODEL_TYPE.include?(params[:type]) render json: { success: false }, status: :unprocessable_entity end