diff --git a/vulnerabilities/api.py b/vulnerabilities/api.py index 25470e7f4..4abec7532 100644 --- a/vulnerabilities/api.py +++ b/vulnerabilities/api.py @@ -62,8 +62,7 @@ def get_vulnerability(self, vuln, affected_vulnerabilities): if vuln.get("vulnerability"): affected_vulnerability["vulnerability"] = vuln.get("vulnerability").vulnerability_id - - affected_vulnerabilities.append(affected_vulnerability) + affected_vulnerabilities.append(affected_vulnerability) affected_by_vulnerabilities = serializers.SerializerMethodField("get_affected_vulnerabilities")