diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-04-20 02:49:26 +0200 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-04-20 02:49:26 +0200 |
commit | afbef434b514b90a134f93ed043edd44bf564b64 (patch) | |
tree | 483124213a01ae6f101288aaffa0e9877ac98344 /pkg/models/cve/feed.go | |
parent | Make the domain configurable (diff) | |
download | glsamaker-afbef434b514b90a134f93ed043edd44bf564b64.tar.gz glsamaker-afbef434b514b90a134f93ed043edd44bf564b64.tar.bz2 glsamaker-afbef434b514b90a134f93ed043edd44bf564b64.zip |
Correctly display the user name in comments
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'pkg/models/cve/feed.go')
-rw-r--r-- | pkg/models/cve/feed.go | 3 |
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 |