From a7da00833545143e5f9a468e16b87181e51c9905 Mon Sep 17 00:00:00 2001 From: shadrach Date: Wed, 30 Oct 2024 05:30:44 -0500 Subject: [PATCH] make node doi query api public --- desci-server/src/routes/v1/nodes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desci-server/src/routes/v1/nodes.ts b/desci-server/src/routes/v1/nodes.ts index 6581df843..8c5312359 100755 --- a/desci-server/src/routes/v1/nodes.ts +++ b/desci-server/src/routes/v1/nodes.ts @@ -120,7 +120,7 @@ router.post('/distribution', preparePublishPackage); router.post('/distribution/preview', [ensureUser], frontmatterPreview); // Doi api routes -router.get('/:identifier/doi', [ensureUser], asyncHandler(retrieveNodeDoi)); +router.get('/:identifier/doi', [], asyncHandler(retrieveNodeDoi)); router.post( '/:uuid/automate-metadata', [ensureUser, ensureNodeAccess, validate(automateMetadataSchema)],