style: fix linting offense
This commit is contained in:
parent
083bc27b1a
commit
b04b67f148
@ -19,7 +19,7 @@ class Api::V1::Accounts::Captain::BulkActionsController < Api::V1::Accounts::Bas
|
|||||||
end
|
end
|
||||||
|
|
||||||
def type_matches?
|
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
|
render json: { success: false }, status: :unprocessable_entity
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user