Skip to content

Commit

Permalink
fix function misnomer #891
Browse files Browse the repository at this point in the history
  • Loading branch information
tfranzel committed Dec 9, 2022
1 parent 89c3686 commit 20a4c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drf_spectacular/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ class SpectacularJSONAPIView(SpectacularAPIView):
renderer_classes = [OpenApiJsonRenderer, OpenApiJsonRenderer2]


def _get_sidecar_url(package):
return static(f'drf_spectacular_sidecar/{package}')
def _get_sidecar_url(filepath):
return static(f'drf_spectacular_sidecar/{filepath}')


class SpectacularSwaggerView(APIView):
Expand Down

0 comments on commit 20a4c4e

Please sign in to comment.