aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <>2021-07-03 19:58:22 -0700
committerFChannel <>2021-07-03 19:58:22 -0700
commit68f3c361656ae343fd809239452a954424a0bcb2 (patch)
treedacd87de82acb57f6ac0c447b09ab57db0b23fad /main.go
parent068e6caf8dfa3fb36dd9f74b9070f41f801e9c8d (diff)
added report reason to admin manage page
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 0c1e4fa..755a0ec 100644
--- a/main.go
+++ b/main.go
@@ -524,6 +524,7 @@ func main() {
var r Report
r.Count = int(e.Size)
r.ID = e.Id
+ r.Reason = e.Content
reports = append(reports, r)
}
@@ -533,6 +534,7 @@ func main() {
var r Report
r.Count = e.Count
r.ID = e.ID
+ r.Reason = e.Reason
reports = append(reports, r)
}