Skip to content

Commit

Permalink
Merge pull request #709 from bounswe/Alputer-patch-5
Browse files Browse the repository at this point in the history
Update poll.controller.ts
  • Loading branch information
batuhancetin authored Dec 23, 2023
2 parents 0a9f67e + c8aeb64 commit e5b9630
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/backend/src/poll/poll.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ export class PollController {
creatorId?: string,
@Query('likedById', new ParseUUIDPipe({ optional: true }))
likedById?: string,
@Query('votedById', new ParseUUIDPipe({ optional: true }))
votedById?: string,
@Query('followedById', new ParseUUIDPipe({ optional: true }))
followedById?: string,
@Query('sort')
Expand All @@ -184,7 +186,7 @@ export class PollController {
creatorId,
approveStatus: true,
likedById,
votedById: null,
votedById,
followedById,
sortString,
tags,
Expand Down

0 comments on commit e5b9630

Please sign in to comment.