silverwind authored and GitHub committed 2023-10-24 02:54:59 +00:00
1 parent def907de7b
commit ce83609ff6
18 files changed
+105 -119

No files matched your search

+1 -2
View File
@@ -713,9 +713,8 @@ func DeleteIssueActions(ctx context.Context, repoID, issueID, issueIndex int64)
break
} else if _, err = db.GetEngine(ctx).In("comment_id", commentIDs).Delete(&Action{}); err != nil {
return err
} else {
lastCommentID = commentIDs[len(commentIDs)-1]
}
lastCommentID = commentIDs[len(commentIDs)-1]
}
_, err := e.Where("repo_id = ?", repoID).