Skip to content

Commit

Permalink
fix: added team/project logo url in focus area api
Browse files Browse the repository at this point in the history
  • Loading branch information
navneethkrish authored and madan-ideas2it committed Dec 20, 2024
1 parent aa89728 commit 2c6c8d4
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions apps/web-api/src/focus-areas/focus-areas.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export class FocusAreasService {
uid: true,
title: true,
description: true,
parentUid: true,
children: this.buildQueryByLevel(4, type, query), // level denotes depth of children.
...this.buildAncestorFocusAreasFilterByType(type, query)
},
Expand All @@ -31,6 +32,7 @@ export class FocusAreasService {
uid: true,
title: true,
description: true,
parentUid: true,
children: true,
...this.buildAncestorFocusAreasFilterByType(type, query)
},
Expand All @@ -44,6 +46,7 @@ export class FocusAreasService {
uid: true,
title: true,
description: true,
parentUid: true,
children: this.buildQueryByLevel(level - 1, type, query),
...this.buildAncestorFocusAreasFilterByType(type, query)
},
Expand All @@ -66,7 +69,12 @@ export class FocusAreasService {
team: {
select: {
uid: true,
name: true
name: true,
logo: {
select: {
url: true
}
}
}
}
},
Expand All @@ -86,7 +94,12 @@ export class FocusAreasService {
project: {
select: {
uid: true,
name: true
name: true,
logo: {
select: {
url: true
}
}
}
}
},
Expand Down

0 comments on commit 2c6c8d4

Please sign in to comment.