Fix error message when importing >1k members
This commit is contained in:
parent
019800f396
commit
2eade8cb8a
@ -206,7 +206,8 @@ namespace PluralKit.Core
|
|||||||
[JsonIgnore] public bool Valid =>
|
[JsonIgnore] public bool Valid =>
|
||||||
TimeZoneValid &&
|
TimeZoneValid &&
|
||||||
Members != null &&
|
Members != null &&
|
||||||
Members.Count <= Limits.MaxMemberCount &&
|
// no need to check this here, it is checked later as part of the import
|
||||||
|
// Members.Count <= Limits.MaxMemberCount &&
|
||||||
Members.All(m => m.Valid) &&
|
Members.All(m => m.Valid) &&
|
||||||
Switches != null &&
|
Switches != null &&
|
||||||
Switches.Count < 10000 &&
|
Switches.Count < 10000 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user