mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-02 15:09:33 -05:00
Fix teamreviewer ids
this needs to be a negative integer
This commit is contained in:
parent
e4858b2932
commit
f604ab1614
@ -589,7 +589,7 @@ func CreatePullRequest(ctx *context.APIContext) {
|
|||||||
ctx.Error(http.StatusInternalServerError, "ReviewRequest", err)
|
ctx.Error(http.StatusInternalServerError, "ReviewRequest", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
reviewerIds = append(reviewerIds, teamReviewer.ID)
|
reviewerIds = append(reviewerIds, -teamReviewer.ID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user