chore(backend): format

This commit is contained in:
sam 2024-10-01 21:58:13 +02:00
parent 42041d49bc
commit aa756ac56a
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
3 changed files with 4 additions and 2 deletions

View file

@ -186,7 +186,8 @@ public class UsersController(
if (preferences.Count > MaxCustomPreferences)
errors.Add(("custom_preferences",
ValidationError.LengthError("Too many custom preferences", 0, MaxCustomPreferences, preferences.Count)));
ValidationError.LengthError("Too many custom preferences", 0, MaxCustomPreferences,
preferences.Count)));
if (preferences.Count > 50) return errors;
// TODO: validate individual preferences