Fix buckets not being duplicated correctly
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2020-06-30 22:37:15 +02:00
parent b6d95bfb63
commit 473ca3999e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ func (ld *ListDuplicate) Create(a web.Auth) (err error) {
oldID := t.ID
t.ID = 0
t.ListID = ld.List.ID
t.BucketID = bucketMap[t.ID]
t.BucketID = bucketMap[t.BucketID]
t.UID = ""
err := createTask(t, a, false)
if err != nil {