diff --git a/api.go b/api.go index c0c9b2f..fb63f02 100644 --- a/api.go +++ b/api.go @@ -90,6 +90,10 @@ func requestPaged[R any](api *Api, ctx context.Context, query string, vars map[s return } + if resp.Data.Page == nil { + return + } + for _, value := range resp.Data.Page.Data() { value := value select {