From 33b7f25883cf7e2be0c36c294d702501be154bed Mon Sep 17 00:00:00 2001 From: Chris Perry Date: Thu, 9 May 2024 19:55:33 -0500 Subject: [PATCH] Minor fix --- .../Methods/Badges/CheckFocusSessionBadgeEligibility.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FocusApp.Client/Methods/Badges/CheckFocusSessionBadgeEligibility.cs b/src/FocusApp.Client/Methods/Badges/CheckFocusSessionBadgeEligibility.cs index 6574826..59b8529 100644 --- a/src/FocusApp.Client/Methods/Badges/CheckFocusSessionBadgeEligibility.cs +++ b/src/FocusApp.Client/Methods/Badges/CheckFocusSessionBadgeEligibility.cs @@ -34,7 +34,7 @@ public async Task Handle(Query query, CancellationToken IsEligible = false }; - if (_authenticationService.IsLoggedIn) + if (!_authenticationService.IsLoggedIn) { throw new InvalidOperationException("User is not logged in."); }