Fix duplicating a list with background
This commit is contained in:
parent
2d567bfe0f
commit
9acba7d3f0
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user