From c9750881d3d1d8814183c3a643a3f23cf0ef342a Mon Sep 17 00:00:00 2001 From: Timur Date: Sun, 2 Mar 2025 11:35:29 +0300 Subject: [PATCH] return submission content in history endpoint --- services/backend/api/v1/task/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/backend/api/v1/task/schemas.py b/services/backend/api/v1/task/schemas.py index b29f775..5ee967c 100644 --- a/services/backend/api/v1/task/schemas.py +++ b/services/backend/api/v1/task/schemas.py @@ -29,4 +29,4 @@ class HistorySubmissionOut(ModelSchema): class Meta: model = CompetitionTaskSubmission - fields = ("id", "earned_points", "timestamp") + fields = ("id", "earned_points", "timestamp", "content",)