Skip to content

Commit

Permalink
Fixed a bug introduced from capability statement changes for adding i…
Browse files Browse the repository at this point in the history
…n $status. (#3469)
  • Loading branch information
PTaladay authored Aug 4, 2023
1 parent 069eafd commit 6691fa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ internal class KnownRoutes
public const string SearchParameters = "SearchParameter/";
public const string Status = "$status";
public const string SearchParametersStatusQuery = SearchParameters + Status;
public const string SearchParametersStatusQueryDefintion = OperationDefinition + "/" + OperationsConstants.SearchParameterStatus;
public const string SearchParametersStatusById = SearchParameters + IdRouteSegment + "/" + Status;
public const string SearchParametersStatusPostQuery = SearchParametersStatusQuery + "/" + Search;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public async Task<IActionResult> PurgeHistoryOperationDefinition()
}

[HttpGet]
[Route(KnownRoutes.SearchParametersStatusQuery, Name = RouteNames.SearchParameterStatusOperationDefinition)]
[Route(KnownRoutes.SearchParametersStatusQueryDefintion, Name = RouteNames.SearchParameterStatusOperationDefinition)]
[AllowAnonymous]
public async Task<IActionResult> SearchParameterStatusOperationDefintion()
{
Expand Down

0 comments on commit 6691fa6

Please sign in to comment.