From 2a16c185fe4b70632aa966585a2537e67460c75d Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sun, 25 Feb 2024 14:13:12 +0000 Subject: [PATCH] fix: fix user validation check --- OliverBooth/Services/SessionService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliverBooth/Services/SessionService.cs b/OliverBooth/Services/SessionService.cs index 0d174ed..c298972 100644 --- a/OliverBooth/Services/SessionService.cs +++ b/OliverBooth/Services/SessionService.cs @@ -170,7 +170,7 @@ internal sealed class SessionService : BackgroundService, ISessionService return false; } - if (_userService.TryGetUser(session.UserId, out _)) + if (!_userService.TryGetUser(session.UserId, out _)) { return false; }