aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2017-11-23 11:43:53 +0100
committermarcinzelent <zelent.marcin@gmail.com>2017-11-23 11:43:53 +0100
commit5f56622fdfe457df69ecaeb81c8253cf96cda796 (patch)
treed23acc585058d0a340662847ad4b1301701e17a5
parent55fa1f08621a975f439c50d853c4b55fe044e15f (diff)
Removed slash from GetLatestReading route.
-rw-r--r--AirPollutionWebApi/Controllers/ReadingsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/AirPollutionWebApi/Controllers/ReadingsController.cs b/AirPollutionWebApi/Controllers/ReadingsController.cs
index 9173f72..19b87e7 100644
--- a/AirPollutionWebApi/Controllers/ReadingsController.cs
+++ b/AirPollutionWebApi/Controllers/ReadingsController.cs
@@ -23,7 +23,7 @@ namespace AirPollutionWebApi.Controllers
else return NotFound();
}
- [Route("/api/Readings/latest")]
+ [Route("api/Readings/latest")]
public IHttpActionResult GetLatestReading()
{
var readings = SqlOperator.GetAllReadings();