mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	| @@ -387,8 +387,8 @@ func createComment(e *xorm.Session, opts *CreateCommentOptions) (_ *Comment, err | |||||||
| 		Content:         opts.Content, | 		Content:         opts.Content, | ||||||
| 		OldTitle:        opts.OldTitle, | 		OldTitle:        opts.OldTitle, | ||||||
| 		NewTitle:        opts.NewTitle, | 		NewTitle:        opts.NewTitle, | ||||||
| 		TreePath:       opts.TreePath, | 		TreePath:        opts.TreePath, | ||||||
| 		ReviewID:       opts.ReviewID, | 		ReviewID:        opts.ReviewID, | ||||||
| 	} | 	} | ||||||
| 	if _, err = e.Insert(comment); err != nil { | 	if _, err = e.Insert(comment); err != nil { | ||||||
| 		return nil, err | 		return nil, err | ||||||
| @@ -607,8 +607,8 @@ type CreateCommentOptions struct { | |||||||
| 	CommitID        int64 | 	CommitID        int64 | ||||||
| 	CommitSHA       string | 	CommitSHA       string | ||||||
| 	LineNum         int64 | 	LineNum         int64 | ||||||
| 	TreePath       string | 	TreePath        string | ||||||
| 	ReviewID       int64 | 	ReviewID        int64 | ||||||
| 	Content         string | 	Content         string | ||||||
| 	Attachments     []string // UUIDs of attachments | 	Attachments     []string // UUIDs of attachments | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user