Skip to content

Commit

Permalink
Merge pull request #56 from kartoza/feature/455-server-time-log
Browse files Browse the repository at this point in the history
Update logs endpoint
  • Loading branch information
danangmassandy authored Aug 6, 2024
2 parents e863d06 + 8cd05ff commit 7e081c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_project/cplus_api/serializers/scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 7e081c6

Please sign in to comment.