Skip to content

Commit

Permalink
Merge pull request #606 from desci-labs/remove-auth
Browse files Browse the repository at this point in the history
make node doi query api public
  • Loading branch information
shadrach-tayo authored Oct 30, 2024
2 parents 84dc108 + a7da008 commit 84550d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desci-server/src/routes/v1/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)],
Expand Down

0 comments on commit 84550d5

Please sign in to comment.