Skip to content

Commit

Permalink
Merge pull request #412 from DFE-Digital/feature/get-establishment-by…
Browse files Browse the repository at this point in the history
…-trust

reverted ukprn route
  • Loading branch information
dneed-nimble authored Nov 9, 2023
2 parents 7c5e3f0 + 94b5e86 commit ef35dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TramsDataApi/Controllers/V4/TrustsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public TrustsController(ITrustQueries trustQueries, ILogger<TrustsController> lo
/// <param name="cancellationToken"></param>
/// <returns>A Trust or NotFound if not available.</returns>
[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.")]
Expand Down

0 comments on commit ef35dd1

Please sign in to comment.