Skip to content

Commit

Permalink
refactor(api): update init cached groups function
Browse files Browse the repository at this point in the history
  • Loading branch information
vplasencia committed Dec 4, 2023
1 parent c7a64f5 commit 19f8854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/app/groups/groups.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ export class GroupsService {
const cachedGroup = new CachedGroup(
group.id,
group.treeDepth,
group.members.map((m) => m.id)
group.members.map((m) => BigInt(m.id))

Check failure on line 697 in apps/api/src/app/groups/groups.service.ts

View workflow job for this annotation

GitHub Actions / style

Function declared in a loop contains unsafe references to variable(s) 'BigInt'
)

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

0 comments on commit 19f8854

Please sign in to comment.