Skip to content

Commit

Permalink
Merge pull request #1578 from SynBioHub/allowWorUpdate
Browse files Browse the repository at this point in the history
Allow web-of-registries to update non-public repositories
  • Loading branch information
cjmyers authored Nov 26, 2024
2 parents fa44dbf + c743053 commit 45e3a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function App () {
app.post('/admin/federate', requireAdmin, bodyParser.urlencoded({ extended: true }), actions.admin.federate)

// This endpoint is used by Web-of-Registries to update SynBioHub's list of registries
app.post('/updateWebOfRegistries', requirePublicLogin, bodyParser.json(), api.updateWebOfRegistries)
app.post('/updateWebOfRegistries', bodyParser.json(), api.updateWebOfRegistries)

app.get('/admin/remotes', requireAdmin, views.admin.remotes)
app.post('/admin/saveRemote', requireAdmin, bodyParser.urlencoded({ extended: true }), actions.admin.saveRemote)
Expand Down

0 comments on commit 45e3a01

Please sign in to comment.