From 37b32c9bbf4ae134ef42aee1d3588b335f8dd246 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Thu, 23 Nov 2023 18:12:52 +0100 Subject: [PATCH] Update API * type of limit changed from Int to Limit type --- items.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/items.go b/items.go index 92df6c9..91c1199 100644 --- a/items.go +++ b/items.go @@ -18,7 +18,7 @@ func Items(query *ItemsQuery) (*ItemsCursor, error) { body := GraphQLPayload{ Query: ` - query items($sub: String, $sort: String, $cursor: String, $type: String, $name: String, $when: String, $by: String, $limit: Int) { + query items($sub: String, $sort: String, $cursor: String, $type: String, $name: String, $when: String, $by: String, $limit: Limit) { items(sub: $sub, sort: $sort, cursor: $cursor, type: $type, name: $name, when: $when, by: $by, limit: $limit) { cursor items {