Add endpoint to remove a list background

This commit is contained in:
kolaente 2021-03-21 17:49:14 +01:00
parent 9d0dcb8d7d
commit ee436efba3
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
6 changed files with 195 additions and 20 deletions

View file

@ -543,6 +543,7 @@ func CreateOrUpdateList(s *xorm.Session, list *List, auth web.Auth) (err error)
"identifier",
"hex_color",
"is_favorite",
"background_file_id",
}
if list.Description != "" {
colsToUpdate = append(colsToUpdate, "description")