diff --git a/delivery/controller/nearest_device_controller.go b/delivery/controller/nearest_device_controller.go index f35cb7d..e6d6f53 100644 --- a/delivery/controller/nearest_device_controller.go +++ b/delivery/controller/nearest_device_controller.go @@ -36,8 +36,7 @@ func (c *NearestDeviceController) Route() { nearestDevices.POST("/towers/search", c.getNearestTowers) nearestDevices.GET("/towers/:id", c.getNearestTowerByID) - - nearestDevices.GET("/odp/search", c.getNearestODPDevices) + // GET /odp/search removed — use POST /search with device_type="ODP" } }