Fix duplicating a list with background
This commit is contained in:
parent
2d567bfe0f
commit
9acba7d3f0
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue