summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/models/cve')
-rw-r--r--pkg/models/cve/feed.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/models/cve/feed.go b/pkg/models/cve/feed.go
index 527f233..598c3ab 100644
--- a/pkg/models/cve/feed.go
+++ b/pkg/models/cve/feed.go
@@ -73,7 +73,8 @@ type Comment struct {
Id int64 `pg:",pk,unique"`
GlsaId int64
CVEId string
- User int64
+ UserId int64
+ User *users.User
UserBadge users.Badge
Type string
Message string