Skip to content

Commit

Permalink
remove city field from no_details=2 within_bounding_box endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Dec 3, 2024
1 parent 5d57ffb commit f84fa0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v1/locations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def within_bounding_box
except = %i[country last_updated_by_user_id description region_id zone_id website phone ic_active is_stern_army date_last_updated created_at]
includes = %i[machine_names_first machine_ids num_machines]
elsif params[:no_details] == '2'
except = %i[name street state zip country updated_at location_type_id operator_id country last_updated_by_user_id description region_id zone_id website phone ic_active is_stern_army date_last_updated created_at]
except = %i[name street city state zip country updated_at location_type_id operator_id country last_updated_by_user_id description region_id zone_id website phone ic_active is_stern_army date_last_updated created_at]
includes = []
else
except = []
Expand Down

0 comments on commit f84fa0b

Please sign in to comment.