finish view comments on issue page
This commit is contained in:
parent
d7d72b9e3c
commit
133b19d0c5
14 changed files with 388 additions and 284 deletions
|
@ -929,7 +929,7 @@ func DeleteRepository(uid, repoID int64, userName string) error {
|
|||
return err
|
||||
}
|
||||
for i := range issues {
|
||||
if _, err = sess.Delete(&Comment{IssueId: issues[i].ID}); err != nil {
|
||||
if _, err = sess.Delete(&Comment{IssueID: issues[i].ID}); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue