diff --git a/django_project/cplus_api/serializers/scenario.py b/django_project/cplus_api/serializers/scenario.py index 884513d..ca7bc9e 100644 --- a/django_project/cplus_api/serializers/scenario.py +++ b/django_project/cplus_api/serializers/scenario.py @@ -425,7 +425,7 @@ def get_logs(self, obj: ScenarioTask): return TaskLog.objects.filter( content_type=scenario_task_ct, object_id=obj.pk - ).order_by('date_time').values_list('log', flat=True) + ).order_by('date_time').values('log', 'date_time') class Meta: swagger_schema_fields = {