From e91ab15821902e85b5b7d0292c7207815d26f307 Mon Sep 17 00:00:00 2001 From: Dan LaManna Date: Fri, 1 Sep 2023 11:10:22 -0400 Subject: [PATCH] Revert "Add CSRF exemption to create_zip_download_url" This reverts commit dd8c35082055126eb4475383ff04f7fcaa91f8e8. --- isic/zip_download/api.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/isic/zip_download/api.py b/isic/zip_download/api.py index 398ab1b3..445ee67f 100644 --- a/isic/zip_download/api.py +++ b/isic/zip_download/api.py @@ -53,9 +53,6 @@ def create_zip_download_url(request: HttpRequest, payload: SearchQueryIn): return f"{settings.ZIP_DOWNLOAD_SERVICE_URL}/download?zsid={token}" -create_zip_download_url.csrf_exempt = True - - @zip_router.get("/file-listing/", include_in_schema=False, auth=ZipDownloadTokenAuth()) def zip_file_listing( request: HttpRequest,