forked from forgejo/forgejo
some refactor about code comments (#20821)
This commit is contained in:
parent
60c4725cc2
commit
db2286bbb6
7 changed files with 258 additions and 186 deletions
|
@ -240,7 +240,7 @@ func checkForInvalidation(ctx context.Context, requests issues_model.PullRequest
|
|||
}
|
||||
go func() {
|
||||
// FIXME: graceful: We need to tell the manager we're doing something...
|
||||
err := requests.InvalidateCodeComments(ctx, doer, gitRepo, branch)
|
||||
err := InvalidateCodeComments(ctx, requests, doer, gitRepo, branch)
|
||||
if err != nil {
|
||||
log.Error("PullRequestList.InvalidateCodeComments: %v", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue