Update API

* type of limit changed from Int to Limit type
This commit is contained in:
ekzyis 2023-11-23 18:12:52 +01:00
parent 22e41321bc
commit 37b32c9bbf
1 changed files with 1 additions and 1 deletions

View File

@ -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 {