diff --git a/src/collection/account.service.ts b/src/collection/account.service.ts index 8794e9c2..3a1c8e21 100644 --- a/src/collection/account.service.ts +++ b/src/collection/account.service.ts @@ -260,7 +260,7 @@ export class AccountService { await this.graphRepository.getDownstreamVertex( account.vertex.toString(), CollectionNameEnum.service, - 3, + 1, ); for (const service of downstreamServices) { const serviceName = service.collection.name; @@ -344,7 +344,7 @@ export class AccountService { await this.graphRepository.getDownstreamVertex( account.vertex.toString(), CollectionNameEnum.service, - 3, + 1, ); if (downstreamServices) { for (const service of downstreamServices) { @@ -353,7 +353,7 @@ export class AccountService { await this.graphRepository.getUpstreamVertex( service.collection.vertex.toString(), CollectionNameEnum.project, - null, + ['component'], ); const projectName = projectDtoArr[0].collection.name; try {