From 55c81a2dcf885ef140e92c6c8d460bbf2a97d247 Mon Sep 17 00:00:00 2001 From: TannedCung Date: Wed, 4 Dec 2024 15:47:05 +0700 Subject: [PATCH] Fix: settings --- cope2n-api/fwd_api/api/accuracy_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cope2n-api/fwd_api/api/accuracy_view.py b/cope2n-api/fwd_api/api/accuracy_view.py index 327b469..3fd2ed1 100755 --- a/cope2n-api/fwd_api/api/accuracy_view.py +++ b/cope2n-api/fwd_api/api/accuracy_view.py @@ -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 ), ],