mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: return issue votes in public issue list endpoint (#2026)
This commit is contained in:
parent
5e00ffee05
commit
320608ea73
@ -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
|
||||
@ -697,6 +698,7 @@ class IssuePublicSerializer(BaseSerializer):
|
||||
"priority",
|
||||
"target_date",
|
||||
"issue_reactions",
|
||||
"votes",
|
||||
]
|
||||
read_only_fields = fields
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user