Skip to content

Commit 37ce867

Browse files
committed
Fix bug
1 parent aca3361 commit 37ce867

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/issues/comment.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,6 +1321,7 @@ func UpdateIssueNumComments(ctx context.Context, issueID int64) error {
13211321
_, err := db.GetEngine(ctx).
13221322
SetExpr("num_comments", countCommentsBuilder).
13231323
ID(issueID).
1324+
NoAutoTime().
13241325
Update(new(Issue))
13251326
return err
13261327
}

0 commit comments

Comments
 (0)