Fix: settings
This commit is contained in:
parent
5fb227b2f2
commit
55c81a2dcf
@ -139,7 +139,7 @@ class AccuracyViewSet(viewsets.ViewSet):
|
|||||||
location=OpenApiParameter.QUERY,
|
location=OpenApiParameter.QUERY,
|
||||||
description='Filter by document type',
|
description='Filter by document type',
|
||||||
type=OpenApiTypes.STR,
|
type=OpenApiTypes.STR,
|
||||||
enum=list(settings.DOC_TYPES.keys()),
|
enum=list(settings.DOC_TYPES),
|
||||||
required=False
|
required=False
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user