Skip to content

Commit 8ac97c7

Browse files
authored
Merge pull request #1197 from TechnologyEnhancedLearning/Develop/Fixes/Test-code
Develop/fixes/test code
2 parents 63c876a + 7839096 commit 8ac97c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

LearningHub.Nhs.WebUI/Services/UserGroupService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ 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());
50+
////return await this.cacheService.GetOrFetchAsync(cacheKey, () => this.FetchRoleUserGroupDetailAsync());
51+
return await this.FetchRoleUserGroupDetailAsync();
5152
}
5253

5354
/// <inheritdoc />

0 commit comments

Comments
 (0)