fix: remove IsCRMAdmin permission requirement from preview_document view
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 22s
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 22s
This commit is contained in:
parent
78db3c181a
commit
3f713d80c5
1 changed files with 0 additions and 1 deletions
|
|
@ -214,7 +214,6 @@ from django.http import FileResponse
|
|||
from django.views.decorators.clickjacking import xframe_options_exempt
|
||||
|
||||
@api_view(['GET'])
|
||||
@permission_classes([IsCRMAdmin])
|
||||
@xframe_options_exempt
|
||||
def preview_document(request):
|
||||
filename = request.query_params.get('file', 'document.pdf')
|
||||
|
|
|
|||
Loading…
Reference in a new issue