Skip to content

Commit 11038dd

Browse files
JerryNixonCopilot
andauthored
Update src/Service/HealthCheck/HealthCheckHelper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 158097b commit 11038dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Service/HealthCheck/HealthCheckHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public async Task<ComprehensiveHealthCheckReport> GetHealthCheckResponseAsync(Ru
5858
ComprehensiveHealthCheckReport comprehensiveHealthCheckReport = new();
5959
UpdateVersionAndAppName(ref comprehensiveHealthCheckReport);
6060
UpdateTimestampOfResponse(ref comprehensiveHealthCheckReport);
61-
comprehensiveHealthCheckReport.CurrentRole = string.IsNullOrEmpty(_incomingRoleHeader) ? AuthorizationResolver.ROLE_ANONYMOUS : _incomingRoleHeader;
61+
comprehensiveHealthCheckReport.CurrentRole = AuthorizationResolver.ROLE_ANONYMOUS;
6262
UpdateDabConfigurationDetails(ref comprehensiveHealthCheckReport, runtimeConfig);
6363
await UpdateHealthCheckDetailsAsync(comprehensiveHealthCheckReport, runtimeConfig);
6464
UpdateOverallHealthStatus(ref comprehensiveHealthCheckReport);

0 commit comments

Comments
 (0)