fix json field for offset

This commit is contained in:
Giovanni Harting 2023-12-18 00:02:35 +01:00
parent cc11d97a29
commit 49a0fcfc88

2
api.go
View File

@ -42,7 +42,7 @@ type ThinPackage struct {
type PackageResponse struct {
Packages []*ThinPackage `json:"packages"`
Total int `json:"total"`
Offset int `json:"page"`
Offset int `json:"offset"`
Limit int `json:"limit"`
}