diff options
| author | marcinzelent <zelent.marcin@gmail.com> | 2017-11-23 11:43:53 +0100 | 
|---|---|---|
| committer | marcinzelent <zelent.marcin@gmail.com> | 2017-11-23 11:43:53 +0100 | 
| commit | 5f56622fdfe457df69ecaeb81c8253cf96cda796 (patch) | |
| tree | d23acc585058d0a340662847ad4b1301701e17a5 | |
| parent | 55fa1f08621a975f439c50d853c4b55fe044e15f (diff) | |
Removed slash from GetLatestReading route.
| -rw-r--r-- | AirPollutionWebApi/Controllers/ReadingsController.cs | 2 | 
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();
 |