pull/946/head
Jamie.Rees 8 years ago
parent 973688393f
commit 809d0103c3

@ -50,7 +50,8 @@ namespace Ombi.Api
{ {
var request = new RestRequest var request = new RestRequest
{ {
Resource = "webhooks/{webhookId}/{webhookToken}" Resource = "webhooks/{webhookId}/{webhookToken}",
Method = Method.POST
}; };
request.AddUrlSegment("webhookId", webhookId); request.AddUrlSegment("webhookId", webhookId);
@ -72,7 +73,8 @@ namespace Ombi.Api
{ {
var request = new RestRequest var request = new RestRequest
{ {
Resource = "webhooks/{webhookId}/{webhookToken}" Resource = "webhooks/{webhookId}/{webhookToken}",
Method = Method.POST
}; };
request.AddUrlSegment("webhookId", webhookId); request.AddUrlSegment("webhookId", webhookId);

@ -47,6 +47,7 @@ namespace Ombi.UI.NinjectModules
Bind<IApiRequest>().To<ApiRequest>(); Bind<IApiRequest>().To<ApiRequest>();
Bind<IWatcherApi>().To<WatcherApi>(); Bind<IWatcherApi>().To<WatcherApi>();
Bind<INetflixApi>().To<NetflixRouletteApi>(); Bind<INetflixApi>().To<NetflixRouletteApi>();
Bind<IDiscordApi>().To<DiscordApi>();
} }
} }
} }
Loading…
Cancel
Save