diff --git a/src/Core/HostedServices/ApplicationCacheHostedService.cs b/src/Core/HostedServices/ApplicationCacheHostedService.cs index d5f4b77e3f..1bde351ee4 100644 --- a/src/Core/HostedServices/ApplicationCacheHostedService.cs +++ b/src/Core/HostedServices/ApplicationCacheHostedService.cs @@ -27,7 +27,7 @@ public class ApplicationCacheHostedService : IHostedService, IDisposable GlobalSettings globalSettings) { _topicName = globalSettings.ServiceBus.ApplicationCacheTopicName; - _subName = CoreHelpers.GetApplicationCacheServiceBusSubcriptionName(globalSettings); + _subName = CoreHelpers.GetApplicationCacheServiceBusSubscriptionName(globalSettings); _applicationCacheService = applicationCacheService as InMemoryServiceBusApplicationCacheService; _organizationRepository = organizationRepository; _logger = logger; diff --git a/src/Core/Services/Implementations/InMemoryServiceBusApplicationCacheService.cs b/src/Core/Services/Implementations/InMemoryServiceBusApplicationCacheService.cs index 1c059e4ca6..27dde6337a 100644 --- a/src/Core/Services/Implementations/InMemoryServiceBusApplicationCacheService.cs +++ b/src/Core/Services/Implementations/InMemoryServiceBusApplicationCacheService.cs @@ -18,7 +18,7 @@ public class InMemoryServiceBusApplicationCacheService : InMemoryApplicationCach GlobalSettings globalSettings) : base(organizationRepository, providerRepository) { - _subName = CoreHelpers.GetApplicationCacheServiceBusSubcriptionName(globalSettings); + _subName = CoreHelpers.GetApplicationCacheServiceBusSubscriptionName(globalSettings); _topicClient = new TopicClient(globalSettings.ServiceBus.ConnectionString, globalSettings.ServiceBus.ApplicationCacheTopicName); } diff --git a/src/Core/Utilities/CoreHelpers.cs b/src/Core/Utilities/CoreHelpers.cs index b41f36bfb9..572b1c938d 100644 --- a/src/Core/Utilities/CoreHelpers.cs +++ b/src/Core/Utilities/CoreHelpers.cs @@ -526,7 +526,7 @@ public static class CoreHelpers return !invalid; } - public static string GetApplicationCacheServiceBusSubcriptionName(GlobalSettings globalSettings) + public static string GetApplicationCacheServiceBusSubscriptionName(GlobalSettings globalSettings) { var subName = globalSettings.ServiceBus.ApplicationCacheSubscriptionName; if (string.IsNullOrWhiteSpace(subName))