From 61581cb50a8c3e8a1660b4994b43cbac03e6c9aa Mon Sep 17 00:00:00 2001 From: "Grayson, Matthew" Date: Wed, 2 Oct 2024 08:23:37 -0500 Subject: [PATCH] Refactor AssessmentSchema import. --- backend/src/xfd_django/xfd_api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/xfd_django/xfd_api/views.py b/backend/src/xfd_django/xfd_api/views.py index 8b3e7f11..0b3c3ba5 100644 --- a/backend/src/xfd_django/xfd_api/views.py +++ b/backend/src/xfd_django/xfd_api/views.py @@ -34,7 +34,7 @@ from .auth import get_current_active_user from .models import Assessment, User from .schema_models import scan as scanSchema -from .schema_models.assessment import Assessment +from .schema_models.assessment import Assessment as AssessmentSchema from .schema_models.cpe import Cpe as CpeSchema from .schema_models.cve import Cve as CveSchema from .schema_models.domain import Domain as DomainSchema