From 26f248ce7502cabe8f16045d5793658923fd9493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCsters?= Date: Mon, 18 Mar 2024 14:13:34 +0100 Subject: [PATCH] fix: health check name --- src/core/Wemogy.CQRS/DependencyInjection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Wemogy.CQRS/DependencyInjection.cs b/src/core/Wemogy.CQRS/DependencyInjection.cs index c11dfdd..a758cac 100644 --- a/src/core/Wemogy.CQRS/DependencyInjection.cs +++ b/src/core/Wemogy.CQRS/DependencyInjection.cs @@ -333,6 +333,6 @@ public static IHealthChecksBuilder AddDelayedProcessorCheck(this IHeal where TCommand : ICommandBase { return healthChecksBuilder.AddCheck>( - $"{nameof(TCommand)}DelayedProcessorHealthCheck"); + $"{typeof(TCommand).Name}DelayedProcessorHealthCheck"); } }