Avoid a situation which results in adding a duplicate character

This commit is contained in:
Loporrit
2025-06-25 17:38:47 +00:00
parent 071aa0b5aa
commit 1b405cbde5

View File

@@ -129,7 +129,7 @@ public sealed partial class ApiController : DisposableMediatorSubscriberBase, IM
return; return;
} }
if (secretKey.IsNullOrEmpty()) if (secretKey == null)
{ {
Logger.LogWarning("No secret key set for current character"); Logger.LogWarning("No secret key set for current character");
_connectionDto = null; _connectionDto = null;