mirror of
https://github.com/trafficlunar/api.git
synced 2026-06-27 22:24:08 +00:00
fix: use int for stars in /projects route
i'm tired
This commit is contained in:
parent
a3eb6c6e32
commit
26ed84f50b
3 changed files with 3 additions and 8 deletions
|
|
@ -52,7 +52,7 @@ func GetGitHubData() []model.GitHubData {
|
|||
data = append(data, model.GitHubData{
|
||||
Name: project,
|
||||
Description: apiResponse.Description,
|
||||
Stars: fmt.Sprint(apiResponse.Stars),
|
||||
Stars: apiResponse.Stars,
|
||||
Language: apiResponse.Language,
|
||||
Url: apiResponse.Url,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue