chore(backend): format
This commit is contained in:
parent
42041d49bc
commit
aa756ac56a
3 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue