Skip to content

Commit

Permalink
fix(webhook): Remove added trailing slash from webhook URL #4710
Browse files Browse the repository at this point in the history
  • Loading branch information
sephrat authored Sep 7, 2022
1 parent bce6f4c commit 369eb33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ombi.Api.Webhook/WebhookApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public WebhookApi(IApi api)

public async Task PushAsync(string baseUrl, string accessToken, IDictionary<string, string> parameters)
{
var request = new Request("", baseUrl, HttpMethod.Post);

var request = new Request("", baseUrl, HttpMethod.Post) {IgnoreBaseUrlAppend = true};
if (!string.IsNullOrWhiteSpace(accessToken))
{
request.AddHeader("Access-Token", accessToken);
Expand Down

0 comments on commit 369eb33

Please sign in to comment.