Compare commits

...
Author SHA1 Message Date
sangeethailango 9230f26ce1 chore: updated serializers to set completed_at as read only 2026-05-15 16:45:54 +05:30
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -69,7 +69,7 @@ class IssueSerializer(BaseSerializer):
class Meta:
model = Issue
read_only_fields = ["id", "workspace", "project", "updated_by", "updated_at"]
read_only_fields = ["id", "workspace", "project", "updated_by", "updated_at", "completed_at"]
exclude = ["description_json", "description_stripped"]
def validate(self, data):
@@ -850,6 +850,7 @@ class IssueExpandSerializer(BaseSerializer):
"updated_by",
"created_at",
"updated_at",
"completed_at",
]
+1
View File
@@ -110,6 +110,7 @@ class IssueCreateSerializer(BaseSerializer):
"updated_by",
"created_at",
"updated_at",
"completed_at",
]
def to_representation(self, instance):