aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2022-07-19 15:20:28 +0200
committerGitHub <noreply@github.com>2022-07-19 15:20:28 +0200
commitc0f5111fea0b742a60113e1bda81bf39607d6ca8 (patch)
tree78d8414ef40d6c4a2ddedfa7f71d10cee100feba /modules
parente519249266cb69065b65f59477afa36f240b28cf (diff)
downloadgitea-c0f5111fea0b742a60113e1bda81bf39607d6ca8.tar.gz
gitea-c0f5111fea0b742a60113e1bda81bf39607d6ca8.zip
Dismiss prior pull reviews if done via web in review dismiss (#20197)
Diffstat (limited to 'modules')
-rw-r--r--modules/structs/pull_review.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/pull_review.go b/modules/structs/pull_review.go
index 6544604acb..7c9360a0c2 100644
--- a/modules/structs/pull_review.go
+++ b/modules/structs/pull_review.go
@@ -97,6 +97,7 @@ type SubmitPullReviewOptions struct {
// DismissPullReviewOptions are options to dismiss a pull review
type DismissPullReviewOptions struct {
Message string `json:"message"`
+ Priors bool `json:"priors"`
}
// PullReviewRequestOptions are options to add or remove pull review requests