From 609953a652699e15d0c66e954825bd6aee138798 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 19 Feb 2022 16:22:58 -0500 Subject: feed/feed.go: make basemetrics optional --- feed/feed.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'feed') diff --git a/feed/feed.go b/feed/feed.go index bdf260c..7f1f9e0 100644 --- a/feed/feed.go +++ b/feed/feed.go @@ -209,10 +209,10 @@ type BaseMetricV2 struct { // Item impact type Impact struct { // CVSS V3 base metrics - BaseMetricV3 BaseMetricV3 `json:"baseMetricV3"` + BaseMetricV3 *BaseMetricV3 `json:"baseMetricV3"` // CVSS V2 base metrics - BaseMetricV2 BaseMetricV2 `json:"baseMetricV2"` + BaseMetricV2 *BaseMetricV2 `json:"baseMetricV2"` } // CVE feed item -- cgit v1.2.3