mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[store] other use default client factory
This commit is contained in:
@@ -5,5 +5,6 @@ namespace West.TelegramBot.ContentStore.Service;
|
||||
public class DogApiService : AnimalAsAService
|
||||
{
|
||||
public override StoreItem StoreItem { get; } = new("dog", "Пёсель", 40, 20);
|
||||
public DogApiService() : base(new Uri("https://api.thedogapi.com/v1/")) {}
|
||||
public DogApiService(IHttpClientFactory factory) :
|
||||
base(factory, new Uri("https://api.thedogapi.com/v1/")) {}
|
||||
}
|
||||
Reference in New Issue
Block a user