1
0

fix: updating a list might remove its background

resolves #1039
This commit is contained in:
kolaente
2021-11-13 17:52:14 +01:00
parent 2ae1da473e
commit cf05de19b3
3 changed files with 106 additions and 89 deletions

View File

@ -300,7 +300,7 @@ func RemoveListBackground(c echo.Context) error {
list.BackgroundFileID = 0
list.BackgroundInformation = nil
err = list.Update(s, auth)
err = models.UpdateList(s, list, auth, true)
if err != nil {
return err
}