diff --git a/backend/api/serializers/project_serializer.py b/backend/api/serializers/project_serializer.py index 0e150b7e..caa2cec9 100644 --- a/backend/api/serializers/project_serializer.py +++ b/backend/api/serializers/project_serializer.py @@ -35,7 +35,7 @@ def to_representation(self, instance: Project): non_empty_groups = groups_submitted extra_checks_count = instance.extra_checks.count() - + if extra_checks_count: passed_extra_checks_submission_ids = ExtraCheckResult.objects.filter( submission__group__project=instance,