diff --git a/examples/catalog/graphql/queries.ts b/examples/catalog/graphql/queries.ts index e3af0b9f..0523dd30 100644 --- a/examples/catalog/graphql/queries.ts +++ b/examples/catalog/graphql/queries.ts @@ -1,14 +1,17 @@ import gql from 'graphql-tag'; export const GET_ORG_QUERY = gql` - query dataset($id: String) { - dataset(id: $id) @rest(type: "Response", path: "package_show?{args}") { + query org($id: String) { + org(id: $id) @rest(type: "Response", path: "organization_show?{args}") { result { - organization { - name - title - image_url - } + name + title + description + image: image_url + created + total: package_count + users + followers: num_followers } } }