mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-22 14:13:36 -07:00
fix(webhook): Remove added trailing slash from webhook URL
This commit is contained in:
parent
bce6f4c2f3
commit
72a5959e64
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