[store] kitties now have own http client factory

This commit is contained in:
Andriy
2023-07-28 22:44:51 +03:00
parent 462f3c9836
commit c19696b360
8 changed files with 79 additions and 30 deletions
@@ -1,4 +1,5 @@
using Microsoft.Extensions.Configuration;
using West.TelegramBot.ContentStore.API;
using West.TelegramBot.ContentStore.Model;
using West.TelegramBot.ContentStore.Option;
@@ -9,7 +10,7 @@ public class StraightKittiesService : AbstractKittiesService
protected override string VideoType => "straight";
public override StoreItem StoreItem { get; } = new("kitties_straight", "Прон", 40, 100);
public StraightKittiesService(IConfiguration configuration, AllowNsfw allowNsfw) : base(configuration, allowNsfw)
public StraightKittiesService(IKittiesApi api, AllowNsfw allowNsfw) : base(api, allowNsfw)
{
}
}