feat: state list endpoint (#2717)

* feat: state list endpoint

* dev: update states endpoint

* dev: mark default state endpoint
This commit is contained in:
Nikhil 2023-11-08 22:38:53 +05:30 committed by GitHub
parent 10037222b6
commit 556b2d2617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 18 deletions

View file

@ -7,8 +7,6 @@ from plane.db.models import State
class StateSerializer(BaseSerializer):
workspace_detail = WorkspaceLiteSerializer(read_only=True, source="workspace")
project_detail = ProjectLiteSerializer(read_only=True, source="project")
class Meta:
model = State