Skip to content

Commit

Permalink
add created
Browse files Browse the repository at this point in the history
  • Loading branch information
NvdLaan committed Oct 31, 2024
1 parent 1e7a896 commit 971a645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/apps/cases/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Meta:
class CaseDocumentSerializer(serializers.ModelSerializer):
class Meta:
model = CaseDocument
fields = ("id", "case", "document", "name")
fields = ("id", "case", "document", "name", "created")

def validate_document(self, value):
ext = os.path.splitext(value.name)[1].lower()
Expand Down

0 comments on commit 971a645

Please sign in to comment.