style: fix linting offense

This commit is contained in:
gabrieljablonski 2025-03-05 22:00:04 -03:00
parent 083bc27b1a
commit b04b67f148

View File

@ -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