aboutsummaryrefslogtreecommitdiffstats
path: root/services/forms
diff options
context:
space:
mode:
authorJimmy Praet <jimmy.praet@telenet.be>2024-02-25 07:00:55 +0100
committerGitHub <noreply@github.com>2024-02-25 06:00:55 +0000
commit2e33671f2c1e98759e4fd2a90944c534cfdf5776 (patch)
treef8d1343d2ecbdf9b0bd8ed5cd7f1a48eeb33a1af /services/forms
parent1ef87773b1e75b99b4b842303542fd17d9c2e6f7 (diff)
downloadgitea-2e33671f2c1e98759e4fd2a90944c534cfdf5776.tar.gz
gitea-2e33671f2c1e98759e4fd2a90944c534cfdf5776.zip
Add attachment support for code review comments (#29220)
Fixes #27960, #24411, #12183 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'services/forms')
-rw-r--r--services/forms/repo_form.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/forms/repo_form.go b/services/forms/repo_form.go
index 98d556b946..98b8d610d0 100644
--- a/services/forms/repo_form.go
+++ b/services/forms/repo_form.go
@@ -626,6 +626,7 @@ type CodeCommentForm struct {
SingleReview bool `form:"single_review"`
Reply int64 `form:"reply"`
LatestCommitID string
+ Files []string
}
// Validate validates the fields