Skip to content

Commit

Permalink
Remove unnecessary load of assignee
Browse files Browse the repository at this point in the history
  • Loading branch information
zeripath committed Feb 19, 2020
1 parent e090f8e commit a7ad2ab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion routers/api/v1/repo/issue_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,6 @@ func editIssueComment(ctx *context.APIContext, form api.EditIssueCommentOption)
ctx.Error(http.StatusInternalServerError, "UpdateComment", err)
return
}
_ = comment.LoadAssigneeUser()
_ = comment.LoadPoster()

ctx.JSON(http.StatusOK, comment.APIFormat())
Expand Down

0 comments on commit a7ad2ab

Please sign in to comment.