Skip to content

Commit

Permalink
chore: return issue votes in public issue list endpoint (#2026)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablohashescobar committed Aug 31, 2023
1 parent 5e00ffe commit 320608e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apiserver/plane/api/serializers/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ class IssuePublicSerializer(BaseSerializer):
project_detail = ProjectLiteSerializer(read_only=True, source="project")
state_detail = StateLiteSerializer(read_only=True, source="state")
issue_reactions = IssueReactionLiteSerializer(read_only=True, many=True)
votes = IssueVoteSerializer(read_only=True, many=True)

class Meta:
model = Issue
Expand All @@ -697,6 +698,7 @@ class Meta:
"priority",
"target_date",
"issue_reactions",
"votes",
]
read_only_fields = fields

Expand Down

1 comment on commit 320608e

@vercel
Copy link

@vercel vercel bot commented on 320608e Aug 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

plane-dev – ./apps/app

plane-dev-plane.vercel.app
plane-dev-git-develop-plane.vercel.app
plane-dev.vercel.app

Please sign in to comment.