mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-03-12 04:35:27 -07:00
* Access-Token Header is not sent if it has not been configured (or left blank) * Access token is now also sent in URI string with "token" as key * NotificationType is manually added to the notification data (original data is cloned before to avoid conflict in case of re-usage by other notification handlers)
10 lines
244 B
C#
10 lines
244 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Ombi.Api.Webhook
|
|
{
|
|
public interface IWebhookApi
|
|
{
|
|
Task PushAsync(string endpoint, string accessToken, IDictionary<string, string> parameters);
|
|
}
|
|
} |