summaryrefslogtreecommitdiffstats
path: root/models/review.go
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2019-11-13 21:38:12 -0300
committerzeripath <art27@cantab.net>2019-11-14 00:38:12 +0000
commit023ae3c48cded84dee6bdcbcf7bba8cc92a4a408 (patch)
treeb9cc73815a1657d1a15be1a1358df105a4f90127 /models/review.go
parent3227a11f71200c6018b8af584d34fd85261de264 (diff)
downloadgitea-023ae3c48cded84dee6bdcbcf7bba8cc92a4a408.tar.gz
gitea-023ae3c48cded84dee6bdcbcf7bba8cc92a4a408.zip
Hotfix for review actions and notifications (#8965)
Diffstat (limited to 'models/review.go')
-rw-r--r--models/review.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/review.go b/models/review.go
index 454d16ee88..5c1449c18a 100644
--- a/models/review.go
+++ b/models/review.go
@@ -135,6 +135,7 @@ func (r *Review) publish(e *xorm.Engine) error {
Repo: review.Issue.Repo,
Type: comm.Type,
Content: comm.Content,
+ Review: r,
}, comm); err != nil {
log.Warn("sendCreateCommentAction: %v", err)
}