From f604ab1614d792cd1011b5f46f88477e01937d95 Mon Sep 17 00:00:00 2001 From: Sebastian Sauer Date: Wed, 15 Nov 2023 22:16:12 +0100 Subject: [PATCH] Fix teamreviewer ids this needs to be a negative integer --- routers/api/v1/repo/pull.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }