Skip to content

Commit

Permalink
Refactored GetRemoteIndexes action to support POST requests.
Browse files Browse the repository at this point in the history
Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
AWSHurneyt committed Sep 18, 2023
1 parent a460713 commit c1b47ac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class RestGetRemoteIndexesAction : BaseRestHandler() {

override fun routes(): List<RestHandler.Route> {
return mutableListOf(
RestHandler.Route(RestRequest.Method.GET, ROUTE)
RestHandler.Route(RestRequest.Method.GET, ROUTE),
RestHandler.Route(RestRequest.Method.POST, ROUTE)
)
}

Expand Down

0 comments on commit c1b47ac

Please sign in to comment.