diff --git a/applications/portal/backend/main.py b/applications/portal/backend/main.py index e0848c13..510ead57 100644 --- a/applications/portal/backend/main.py +++ b/applications/portal/backend/main.py @@ -160,7 +160,7 @@ def create_antibody(body: AddAntibody) -> None: ) -@prefix_router.get('/antibodies/export', response_model=None, tags=['antibody']) +@prefix_router.get('/antibodies/export', response_model=None, tags=['antibody'], dependencies=PROTECTED) def get_antibodies_export() -> None: return antibody_controller.get_antibodies_export() diff --git a/applications/portal/frontend/src/components/DownloadPage.tsx b/applications/portal/frontend/src/components/DownloadPage.tsx index 8af45d73..4c4f81e4 100644 --- a/applications/portal/frontend/src/components/DownloadPage.tsx +++ b/applications/portal/frontend/src/components/DownloadPage.tsx @@ -18,7 +18,11 @@ How to cite this data -* Data was downloaded from the antibodyregistry.org, {access date} RRID:SCR_006397 + * Data was downloaded from the antibodyregistry.org, {new Date().toLocaleDateString('en-US', { + day: '2-digit', + month: 'long', + year: 'numeric', + })} RRID:SCR_006397 License: CC-0