fix: typo

This commit is contained in:
spiral 2022-09-22 17:27:58 +00:00
parent c77da49d30
commit 47449ecbc7
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E

View File

@ -174,7 +174,7 @@ public static class ListOptionsExt
opts.IncludeAvatar, opts.IncludeAvatar,
opts.IncludePronouns, opts.IncludePronouns,
opts.IncludeDisplayName, opts.IncludeDisplayName,
}.Sum(x => Convert.ToInt32(x)) > 0; }.Sum(x => Convert.ToInt32(x)) > 1;
if (hasMultipleIncluded) if (hasMultipleIncluded)
throw new PKError("The short list does not support showing items from multiple flags. Try using the full list instead."); throw new PKError("The short list does not support showing items from multiple flags. Try using the full list instead.");