Skip to content

Commit e55a1bd

Browse files
committed
Remove redundant check in SchoolStudentsController.
1 parent e4597b7 commit e55a1bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/api/school_students_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def destroy
117117
def destroy_batch
118118
student_ids = student_ids_params
119119

120-
if student_ids.blank? || student_ids.empty?
120+
if student_ids.blank?
121121
render json: {
122122
error: 'No student IDs provided',
123123
error_type: :unprocessable_entity

0 commit comments

Comments
 (0)