mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[core] client factory for SomeRandomApi
This commit is contained in:
@@ -39,6 +39,11 @@ public class ContentStore : Module
|
||||
);
|
||||
});
|
||||
|
||||
services.AddHttpClient<ISomeRandomApi, SomeRandomApi>(c =>
|
||||
{
|
||||
c.BaseAddress = new Uri("https://some-random-api.com");
|
||||
});
|
||||
|
||||
|
||||
foreach (var serviceType in MediaServiceTypes)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user