Skip to content

Commit

Permalink
fix: update type of some field of Project struct to match response fr…
Browse files Browse the repository at this point in the history
…om deps.dev API

fixes #70
  • Loading branch information
zaibon committed May 16, 2024
1 parent bd3a91f commit 1b2c788
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/depsdev/definitions/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import "time"

type Project struct {
ProjectKey ProjectKey `json:"projectKey,omitempty"`
OpenIssuesCount string `json:"openIssuesCount,omitempty"`
StarsCount string `json:"starsCount,omitempty"`
ForksCount string `json:"forksCount,omitempty"`
OpenIssuesCount int `json:"openIssuesCount,omitempty"`
StarsCount int `json:"starsCount,omitempty"`
ForksCount int `json:"forksCount,omitempty"`
License string `json:"license,omitempty"`
Description string `json:"description,omitempty"`
Homepage string `json:"homepage,omitempty"`
Expand Down

0 comments on commit 1b2c788

Please sign in to comment.