Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix: scheme applied twice to method error
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Aug 28, 2023
1 parent 3ef3552 commit 09cf372
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions registrar/apps/api/v3/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand All @@ -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.
Expand Down

0 comments on commit 09cf372

Please sign in to comment.