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."); }