Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
fix: timestamps are strings for Vulnerability
Browse files Browse the repository at this point in the history
Signed-off-by: nscuro <[email protected]>
  • Loading branch information
nscuro committed Jun 14, 2022
1 parent 3bdb516 commit e8866b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vulnerability.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ type Vulnerability struct {
Recommendation string `json:"recommendation"`
References string `json:"references"`
Credits string `json:"credits"`
Created int `json:"created"`
Published int `json:"published"`
Created string `json:"created"`
Published string `json:"published"`
Updated string `json:"updated"`
CWE CWE `json:"cwe"`
CWEs []CWE `json:"cwes"`
CVSSV2BaseScore float64 `json:"cvssV2BaseScore"`
Expand Down

0 comments on commit e8866b2

Please sign in to comment.