Fix duplicating a list with background

This commit is contained in:
kolaente 2020-07-17 14:16:59 +02:00
parent 2d567bfe0f
commit 9acba7d3f0
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -278,8 +278,7 @@ func (ld *ListDuplicate) Create(a web.Auth) (err error) {
} }
} }
ld.List.BackgroundFileID = file.ID if err := SetListBackground(ld.List.ID, file); err != nil {
if err := CreateOrUpdateList(ld.List); err != nil {
return err return err
} }