From 09cf372648814b1726f189bc59193bf21a31a04c Mon Sep 17 00:00:00 2001 From: irtazaakram Date: Mon, 28 Aug 2023 16:28:05 +0500 Subject: [PATCH] fix: scheme applied twice to method error --- registrar/apps/api/v3/views.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/registrar/apps/api/v3/views.py b/registrar/apps/api/v3/views.py index 4f98c5f0..ad6204fb 100644 --- a/registrar/apps/api/v3/views.py +++ b/registrar/apps/api/v3/views.py @@ -3,7 +3,6 @@ """ import logging -from edx_api_doc_tools import query_parameter, schema_for from edx_rest_framework_extensions.auth.jwt.authentication import ( JwtAuthentication, ) @@ -26,18 +25,6 @@ } -@schema_for( - 'get', - parameters=[ - query_parameter('org_key', str, 'Organization filter'), - query_parameter('user_has_perm', str, 'Permission filter'), - ], - responses={ - 403: 'User lacks access to organization.', - 404: 'Organization does not exist.', - **SCHEMA_COMMON_RESPONSES, - }, -) class ProgramListPaginationView(ProgramListView, TrackViewMixin, ListAPIView): """ A view for listing program objects.