From 3695a1123225238bb91193ba9caf52e40ff425e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Thu, 3 Nov 2022 18:41:56 +0100 Subject: [PATCH] Update github/dependabot_alerts.go Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> --- github/dependabot_alerts.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/github/dependabot_alerts.go b/github/dependabot_alerts.go index 6c642056591..8220a263d3d 100644 --- a/github/dependabot_alerts.go +++ b/github/dependabot_alerts.go @@ -17,8 +17,8 @@ type Dependency struct { } type AdvisoryCvss struct { - Score float64 `json:"score"` - VectorString string `json:"vector_string"` + Score *float64 `json:"score,omitempty"` + VectorString *string `json:"vector_string,omitempty"` } type AdvisoryCWEs struct {