Skip to content

Commit

Permalink
Fixes Queue depth endpoint not working #186
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Oct 18, 2023
1 parent 0ee2127 commit db65468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Serval.Client/Client.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ public string BaseUrl
var content_ = new System.Net.Http.StringContent(json_);
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
request_.Content = content_;
request_.Method = new System.Net.Http.HttpMethod("GET");
request_.Method = new System.Net.Http.HttpMethod("POST");
request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json"));

PrepareRequest(client_, request_, urlBuilder_);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public async Task<ActionResult> DeleteAsync([NotNull] string id, CancellationTok
/// <response code="403">The authenticated client cannot perform the operation</response>
/// <response code="503">A necessary service is currently unavailable. Check `/health` for more details. </response>
[Authorize(Scopes.ReadTranslationEngines)]
[HttpGet("queues")]
[HttpPost("queues")]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(typeof(void), StatusCodes.Status401Unauthorized)]
[ProducesResponseType(typeof(void), StatusCodes.Status403Forbidden)]
Expand Down

0 comments on commit db65468

Please sign in to comment.