diff --git a/src/Umbraco.Core/Services/WebProfilerService.cs b/src/Umbraco.Core/Services/WebProfilerService.cs index 83c984aeea..026c2afd38 100644 --- a/src/Umbraco.Core/Services/WebProfilerService.cs +++ b/src/Umbraco.Core/Services/WebProfilerService.cs @@ -19,7 +19,7 @@ internal sealed class WebProfilerService : IWebProfilerService { Attempt userIdAttempt = GetExecutingUserId(); - if (!userIdAttempt.Success) + if (userIdAttempt.Success is false) { return Attempt.FailWithStatus(WebProfilerOperationStatus.ExecutingUserNotFound, false); } @@ -32,7 +32,7 @@ internal sealed class WebProfilerService : IWebProfilerService { Attempt userIdAttempt = GetExecutingUserId(); - if (!userIdAttempt.Success) + if (userIdAttempt.Success is false) { return Attempt.FailWithStatus(WebProfilerOperationStatus.ExecutingUserNotFound, false); }