Fixed lint
This commit is contained in:
parent
8ed1fb304e
commit
0da1bb74e0
1 changed files with 3 additions and 3 deletions
|
@ -43,8 +43,8 @@ func (i *ListTask) Update() (err error) {
|
||||||
if i.Done != ot.Done {
|
if i.Done != ot.Done {
|
||||||
_, err = x.ID(i.ID).Cols("done").Update(i)
|
_, err = x.ID(i.ID).Cols("done").Update(i)
|
||||||
return
|
return
|
||||||
} else {
|
}
|
||||||
|
|
||||||
_, err = x.ID(i.ID).Update(i)
|
_, err = x.ID(i.ID).Update(i)
|
||||||
return
|
return
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue