mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Finished #739
This commit is contained in:
parent
973688393f
commit
809d0103c3
2 changed files with 5 additions and 2 deletions
|
@ -50,7 +50,8 @@ namespace Ombi.Api
|
|||
{
|
||||
var request = new RestRequest
|
||||
{
|
||||
Resource = "webhooks/{webhookId}/{webhookToken}"
|
||||
Resource = "webhooks/{webhookId}/{webhookToken}",
|
||||
Method = Method.POST
|
||||
};
|
||||
|
||||
request.AddUrlSegment("webhookId", webhookId);
|
||||
|
@ -72,7 +73,8 @@ namespace Ombi.Api
|
|||
{
|
||||
var request = new RestRequest
|
||||
{
|
||||
Resource = "webhooks/{webhookId}/{webhookToken}"
|
||||
Resource = "webhooks/{webhookId}/{webhookToken}",
|
||||
Method = Method.POST
|
||||
};
|
||||
|
||||
request.AddUrlSegment("webhookId", webhookId);
|
||||
|
|
|
@ -47,6 +47,7 @@ namespace Ombi.UI.NinjectModules
|
|||
Bind<IApiRequest>().To<ApiRequest>();
|
||||
Bind<IWatcherApi>().To<WatcherApi>();
|
||||
Bind<INetflixApi>().To<NetflixRouletteApi>();
|
||||
Bind<IDiscordApi>().To<DiscordApi>();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue