Fix duplicating a list with background
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-07-17 14:16:59 +02:00
parent 2d567bfe0f
commit 9acba7d3f0
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 2 deletions

View File

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