mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
fix(webhook): Remove added trailing slash from webhook URL #4710
This commit is contained in:
parent
bce6f4c2f3
commit
369eb33917
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ namespace Ombi.Api.Webhook
|
|||
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue