Fixed lint

This commit is contained in:
kolaente 2018-09-10 19:22:00 +02:00
parent 8ed1fb304e
commit 0da1bb74e0
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 3 deletions

View File

@ -43,8 +43,8 @@ func (i *ListTask) Update() (err error) {
if i.Done != ot.Done {
_, err = x.ID(i.ID).Cols("done").Update(i)
return
} else {
_, err = x.ID(i.ID).Update(i)
return
}
_, err = x.ID(i.ID).Update(i)
return
}