diff --git a/routers/api/v1/repo/pull.go b/routers/api/v1/repo/pull.go index 0732703f12..7b71ce3105 100644 --- a/routers/api/v1/repo/pull.go +++ b/routers/api/v1/repo/pull.go @@ -589,7 +589,7 @@ func CreatePullRequest(ctx *context.APIContext) { ctx.Error(http.StatusInternalServerError, "ReviewRequest", err) return } - reviewerIds = append(reviewerIds, teamReviewer.ID) + reviewerIds = append(reviewerIds, -teamReviewer.ID) } }