Skip to content

Commit

Permalink
fix: events population
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphclue committed Apr 20, 2024
1 parent e802ab4 commit 34d4a15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/backend/src/poll/poll/poll.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export class PollService implements OnModuleInit {
.findById(id)
.select(readPollSelect)
.populate<{participants: number}>('participants')
.populate<{events: number}>('events')
.exec();
}

Expand Down

0 comments on commit 34d4a15

Please sign in to comment.