diff options
Diffstat (limited to 'modules/forms')
-rw-r--r-- | modules/forms/repo_form.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/forms/repo_form.go b/modules/forms/repo_form.go index f177b21f05..48af3450f3 100644 --- a/modules/forms/repo_form.go +++ b/modules/forms/repo_form.go @@ -622,6 +622,12 @@ func (f SubmitReviewForm) HasEmptyContent() bool { len(strings.TrimSpace(f.Content)) == 0 } +// DismissReviewForm for dismissing stale review by repo admin +type DismissReviewForm struct { + ReviewID int64 `binding:"Required"` + Message string +} + // __________ .__ // \______ \ ____ | | ____ _____ ______ ____ // | _// __ \| | _/ __ \\__ \ / ___// __ \ |