Skip to content

Commit a7ad2ab

Browse files
committed
Remove unnecessary load of assignee
1 parent e090f8e commit a7ad2ab

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

routers/api/v1/repo/issue_comment.go

-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ func editIssueComment(ctx *context.APIContext, form api.EditIssueCommentOption)
413413
ctx.Error(http.StatusInternalServerError, "UpdateComment", err)
414414
return
415415
}
416-
_ = comment.LoadAssigneeUser()
417416
_ = comment.LoadPoster()
418417

419418
ctx.JSON(http.StatusOK, comment.APIFormat())

0 commit comments

Comments
 (0)