Feat: add "HideBoots" option to account settings

This commit is contained in:
S0yKaf 2024-09-23 12:53:21 -04:00
commit d9e59820ed
10 changed files with 74 additions and 5 deletions

View file

@ -348,6 +348,7 @@ func parseUpdateAccountForm(c *gin.Context) (*apimodel.UpdateCredentialsRequest,
form.Theme == nil &&
form.CustomCSS == nil &&
form.EnableRSS == nil &&
form.HideBoosts == nil &&
form.HideCollections == nil &&
form.WebVisibility == nil) {
return nil, errors.New("empty form submitted")