mirror of
https://github.com/go-gitea/gitea.git
synced 2024-10-29 08:17:31 -04:00
#1643 fix delete milestone
This commit is contained in:
parent
e4ecbcdf4a
commit
e303d74ab6
@ -1619,7 +1619,7 @@ func DeleteMilestoneByID(mid int64) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if _, err = sess.Id(m.ID).Delete(m); err != nil {
|
if _, err = sess.Id(m.ID).Delete(new(Milestone)); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user