Update plugins/catalog-backend-module-gitlab/src/lib/client.ts
Co-authored-by: Jamie Klassen <jklassen@vmware.com> Signed-off-by: sbarrypoppulo <101636916+sbarrypoppulo@users.noreply.github.com>
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user