Skip to content

Commit

Permalink
feat(websites): add missing service registrations in Platform website #…
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi authored Nov 14, 2023
1 parent 74364ce commit b5dadb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,4 @@
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<Folder Include="Services\Contracts\" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ public static void Add(IServiceCollection services, IWebHostEnvironment env, ICo

var appSettings = configuration.GetSection(nameof(AppSettings)).Get<AppSettings>()!;

services.AddHttpClient<TelegramBotApiClient>();
services.AddScoped<TelegramBotService>();

services.AddClientSharedServices();

services.AddExceptionHandler<ApiExceptionHandler>();
Expand Down

0 comments on commit b5dadb5

Please sign in to comment.