Skip to content

Commit 35bcce7

Browse files
authored
Update schools_controller.rb
1 parent 12f5e0a commit 35bcce7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/api/schools_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def create
2424
else
2525
render json: {
2626
error: result[:error],
27-
error_type: result[:error_type] || :unknown_error
27+
error_types: result[:error_types]
2828
}, status: :unprocessable_entity
2929
end
3030
end

0 commit comments

Comments
 (0)