From 49a0fcfc88f6d91183bc50fd0e6e96c2945dff1f Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Mon, 18 Dec 2023 00:02:35 +0100 Subject: [PATCH] fix json field for offset --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index 390db56..3ebed66 100644 --- a/api.go +++ b/api.go @@ -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"` }