Fix: settings

This commit is contained in:
TannedCung 2024-12-04 15:47:05 +07:00
parent 5fb227b2f2
commit 55c81a2dcf

View File

@ -139,7 +139,7 @@ class AccuracyViewSet(viewsets.ViewSet):
location=OpenApiParameter.QUERY,
description='Filter by document type',
type=OpenApiTypes.STR,
enum=list(settings.DOC_TYPES.keys()),
enum=list(settings.DOC_TYPES),
required=False
),
],