fix: error on first channel selection
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 1s
Build, Package and Push Images / build (push) Successful in 24s
Build, Package and Push Images / sbom-scan (push) Successful in 34s
Build, Package and Push Images / container-build (push) Successful in 1m14s
Build, Package and Push Images / sonarqube (push) Successful in 1m19s
Build, Package and Push Images / container-sbom-scan (push) Successful in 32s
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 1s
Build, Package and Push Images / build (push) Successful in 24s
Build, Package and Push Images / sbom-scan (push) Successful in 34s
Build, Package and Push Images / container-build (push) Successful in 1m14s
Build, Package and Push Images / sonarqube (push) Successful in 1m19s
Build, Package and Push Images / container-sbom-scan (push) Successful in 32s
This commit is contained in:
parent
a214f6fb0b
commit
1e92c53bad
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public class ChannelSelectionHandler : IPacketHandler<ChannelSelectionPacket>
|
||||||
CharacterSelectionSetGuildNamePacket guildNameResponsePacket;
|
CharacterSelectionSetGuildNamePacket guildNameResponsePacket;
|
||||||
|
|
||||||
var hasCharacters = this._wonderkingContext.Accounts.Include(account => account.Characters)
|
var hasCharacters = this._wonderkingContext.Accounts.Include(account => account.Characters)
|
||||||
.FirstOrDefault(a => a.Id == authSession.AccountId)?.Characters.Count != 0;
|
.FirstOrDefault(a => a.Id == authSession.AccountId)?.Characters.Count > 0;
|
||||||
var testingChars = false;
|
var testingChars = false;
|
||||||
if (hasCharacters && !testingChars)
|
if (hasCharacters && !testingChars)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue