Skip to content

Commit 2b7e8f6

Browse files
Merge pull request #1231 from TechnologyEnhancedLearning/Develop/Fixes/Reverted-the-code
Reverted the commented code
2 parents 50adea1 + 102ebab commit 2b7e8f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

LearningHub.Nhs.WebUI/Services/UserGroupService.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ public UserGroupService(
4747
public async Task<List<RoleUserGroupViewModel>> GetRoleUserGroupDetailAsync()
4848
{
4949
var cacheKey = $"{this.contextAccessor.HttpContext.User.Identity.GetCurrentUserId()}:AllRolesWithPermissions";
50-
////return await this.cacheService.GetOrFetchAsync(cacheKey, () => this.FetchRoleUserGroupDetailAsync());
51-
return await this.FetchRoleUserGroupDetailAsync();
50+
return await this.cacheService.GetOrFetchAsync(cacheKey, () => this.FetchRoleUserGroupDetailAsync());
5251
}
5352

5453
/// <inheritdoc />

0 commit comments

Comments
 (0)