Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrispyPeaches committed May 10, 2024
1 parent 7449637 commit 33b7f25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public async Task<BadgeEligibilityResult> Handle(Query query, CancellationToken
IsEligible = false
};

if (_authenticationService.IsLoggedIn)
if (!_authenticationService.IsLoggedIn)
{
throw new InvalidOperationException("User is not logged in.");
}
Expand Down

0 comments on commit 33b7f25

Please sign in to comment.