From 708f124a40586050dec38c5efb6674a7f8ddd2d3 Mon Sep 17 00:00:00 2001 From: RyanTG Date: Sat, 21 Dec 2024 16:15:58 -0800 Subject: [PATCH] fix a typo --- app/controllers/api/v1/locations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/locations_controller.rb b/app/controllers/api/v1/locations_controller.rb index 57cd6108..98f2fac0 100644 --- a/app/controllers/api/v1/locations_controller.rb +++ b/app/controllers/api/v1/locations_controller.rb @@ -52,7 +52,7 @@ def suggest api :GET, '/api/v1/locations.json', 'Fetch locations for all regions' api :GET, '/api/v1/region/:region/locations.json', 'Fetch locations for a single region' description 'This will also return a list of machines at each location' - param :region, String, desc: 'Name of the Region you want to see events for', required: true + param :region, String, desc: 'Name of the Region you want to see locations for', required: true param :by_location_name, String, desc: 'Name of location to search for', required: false param :by_location_id, Integer, desc: 'Location ID to search for', required: false param :by_machine_id, Integer, desc: 'Machine ID to find in locations', required: false