Skip to content

Commit 79bce8e

Browse files
committed
Fix missed .NET 10 EF upgrade array
1 parent 60f4659 commit 79bce8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SharedLibraryCore/Services/ClientService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ await ctx.Aliases.Where(_alias =>
720720

721721
await ctx.Penalties.Where(penalty =>
722722
clientIdsByIp.Contains(penalty.OffenderId)
723-
&& new[]
723+
&& new List<EFPenalty.PenaltyType>
724724
{
725725
EFPenalty.PenaltyType.Ban, EFPenalty.PenaltyType.TempBan, EFPenalty.PenaltyType.Flag
726726
}.Contains(penalty.Type)

0 commit comments

Comments
 (0)