mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-25 12:26:40 +08:00
Rename almost all Ctx functions (#22071)
This commit is contained in:
@ -102,7 +102,7 @@ func toggleIssueAssignee(ctx context.Context, issue *Issue, doer *user_model.Use
|
||||
AssigneeID: assigneeID,
|
||||
}
|
||||
// Comment
|
||||
comment, err = CreateCommentCtx(ctx, opts)
|
||||
comment, err = CreateComment(ctx, opts)
|
||||
if err != nil {
|
||||
return false, nil, fmt.Errorf("createComment: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user