feat(backend): validate custom preferences on save

This commit is contained in:
sam 2024-11-28 17:28:52 +01:00
parent 71b59dbb00
commit 8b1d5b2c1b
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
6 changed files with 560 additions and 477 deletions

View file

@ -27,7 +27,7 @@ public class MetaController : ApiControllerBase
new Limits(
MemberCount: MembersController.MaxMemberCount,
BioLength: ValidationUtils.MaxBioLength,
CustomPreferences: UsersController.MaxCustomPreferences
CustomPreferences: ValidationUtils.MaxCustomPreferences
)
)
);