From 94b5e867f3d88bdce25e5aa2eca9f195ec159d8b Mon Sep 17 00:00:00 2001 From: Dominic NEED Date: Thu, 9 Nov 2023 11:22:52 +0000 Subject: [PATCH] reverted ukprn route --- TramsDataApi/Controllers/V4/TrustsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TramsDataApi/Controllers/V4/TrustsController.cs b/TramsDataApi/Controllers/V4/TrustsController.cs index 43f7c5d0c..fcc1438f3 100644 --- a/TramsDataApi/Controllers/V4/TrustsController.cs +++ b/TramsDataApi/Controllers/V4/TrustsController.cs @@ -36,7 +36,7 @@ public TrustsController(ITrustQueries trustQueries, ILogger lo /// /// A Trust or NotFound if not available. [HttpGet] - [Route("trust/ukprn/{ukprn}")] + [Route("trust/{ukprn}")] [SwaggerOperation(Summary = "Retrieve Trust by UK Provider Reference Number (UKPRN)", Description = "Returns a Trust identified by UK Provider Reference Number (UKPRN).")] [SwaggerResponse(200, "Successfully found and returned the Trust.")] [SwaggerResponse(404, "Trust with specified UK Provider Reference Number (UKPRN) not found.")]