diff --git a/plugins/catalog-backend-module-gitlab/src/lib/client.ts b/plugins/catalog-backend-module-gitlab/src/lib/client.ts index dca545eab3..f44aec9b20 100644 --- a/plugins/catalog-backend-module-gitlab/src/lib/client.ts +++ b/plugins/catalog-backend-module-gitlab/src/lib/client.ts @@ -187,24 +187,24 @@ export class GitLabClient { body: JSON.stringify({ variables: { group: groupPath, endCursor }, query: `query listSaasGroups($group: ID!, $endCursor: String) { - group(fullPath: $group) { - descendantGroups(first: 100, after: $endCursor){ - nodes{ - id - name - description - fullPath - parent{ - id - } - } - pageInfo { - endCursor - hasNextPage + group(fullPath: $group) { + descendantGroups(first: 100, after: $endCursor) { + nodes { + id + name + description + fullPath + parent { + id } + } + pageInfo { + endCursor + hasNextPage + } } - } - }`, + } + }`, }), }, ).then(r => r.json());