Fixed lint

This commit is contained in:
kolaente 2018-09-10 19:22:00 +02:00
parent 8ed1fb304e
commit 0da1bb74e0
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

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
}