Pull applied suggesstions for formatting and resolve merge conflicts

Signed-off-by: Stephen Barry <sbarry@poppulo.com>
This commit is contained in:
Stephen Barry
2023-08-15 16:02:36 +01:00
2 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-gitlab': patch
'@backstage/plugin-catalog-backend-module-gitlab': minor
---
Fix Gitlab.com user ingestion by scoping GitlabOrgDiscoveryEntityProvider to a group.
@@ -117,13 +117,13 @@ export class GitLabClient {
groupMembers(first: 100, relations: [DESCENDANTS], after: $endCursor) {
nodes {
user {
id
username
id
username
publicEmail
name
state
webUrl
avatarUrl
avatarUrl
}
}
pageInfo {
@@ -188,24 +188,24 @@ export class GitLabClient {
body: JSON.stringify({
variables: { group: groupPath, endCursor },
query: `query listDescendantGroups($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());