Skip to content

Commit

Permalink
Merge branch 'dev' into fix-typos
Browse files Browse the repository at this point in the history
  • Loading branch information
vplasencia authored Dec 6, 2023
2 parents bea4a1b + 363a65e commit 24a158e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/api/src/app/groups/groups.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -691,10 +691,16 @@ export class GroupsService {

/* istanbul ignore next */
for (const group of groups) {
const members = []

for (const member of group.members) {
members.push(BigInt(member.id))
}

const cachedGroup = new CachedGroup(
group.id,
group.treeDepth,
group.members.map((m) => BigInt(m.id))
members
)

this.cachedGroups.set(group.id, cachedGroup)
Expand Down

0 comments on commit 24a158e

Please sign in to comment.