Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/TeaTime.Slack/ServiceCollectionExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ namespace TeaTime.Slack
using System;
using System.Reflection;
using Client;
using CommandRouter.Extensions;
using CommandRouter.Integration.AspNetCore.Extensions;
using Common.Features.Orders.Events;
using Common.Features.Runs.Events;
Expand All @@ -25,7 +26,7 @@ public static void AddSlack(this IServiceCollection services, IMvcBuilder mvcBui
//Add current assembly controllers
mvcBuilder.AddApplicationPart(Assembly);

services.AddCommandRouter();
services.AddCommandRouterForAssembly(Assembly);

// General required services
services.TryAddSingleton(TimeProvider.System);
Expand Down
4 changes: 2 additions & 2 deletions src/TeaTime.Slack/TeaTime.Slack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommandRouter" Version="1.0.0-beta6" />
<PackageReference Include="CommandRouter.Integration.AspNetCore" Version="1.0.0-beta3" />
<PackageReference Include="CommandRouter" Version="1.0.0-rc1" />
<PackageReference Include="CommandRouter.Integration.AspNetCore" Version="1.0.0-rc1" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="9.0.0" />
</ItemGroup>

Expand Down