fix json field for offset
This commit is contained in:
2
api.go
2
api.go
@@ -42,7 +42,7 @@ type ThinPackage struct {
|
|||||||
type PackageResponse struct {
|
type PackageResponse struct {
|
||||||
Packages []*ThinPackage `json:"packages"`
|
Packages []*ThinPackage `json:"packages"`
|
||||||
Total int `json:"total"`
|
Total int `json:"total"`
|
||||||
Offset int `json:"page"`
|
Offset int `json:"offset"`
|
||||||
Limit int `json:"limit"`
|
Limit int `json:"limit"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user