diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/UserController.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/UserController.cs index 166879ee..89c3fb1c 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/UserController.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/UserController.cs @@ -343,9 +343,9 @@ public async Task>> GetLHUserNavigation() { var userId = this.User.Identity.GetCurrentUserId(); - var (cacheExists, _) = await this.cacheService.TryGetAsync($"{userId}:LoginWizard"); + ////var (cacheExists, _) = await this.cacheService.TryGetAsync($"{userId}:LoginWizard"); - model = await this.permissionService.GetNavigationModelAsync(this.User, !cacheExists, string.Empty); + model = await this.permissionService.GetNavigationModelAsync(this.User, true, string.Empty); model.NotificationCount = await this.userNotificationService.GetUserUnreadNotificationCountAsync(userId); }