mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Update WebhookApi.cs
Fixes #2448. Forward slash is no longer appended to the URL. If a user wants a / at the end of the URL, they will have to enter it in the webhook baseUrl.
This commit is contained in:
parent
acc886293d
commit
69923db39f
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ namespace Ombi.Api.Webhook
|
||||||
|
|
||||||
public async Task PushAsync(string baseUrl, string accessToken, IDictionary<string, string> parameters)
|
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);
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(accessToken))
|
if (!string.IsNullOrWhiteSpace(accessToken))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue