diff --git a/routes/originConda.js b/routes/originConda.js index 763997b95..2764bb4cf 100644 --- a/routes/originConda.js +++ b/routes/originConda.js @@ -34,7 +34,7 @@ async function fetchCondaRepoData(channel, subdir) { return repoData } -router.get('/:channel/:subdir/:name/revisions', asyncMiddleware(getOriginCondaRevisions())) +router.get('/:channel/:subdir/:name/revisions', asyncMiddleware(getOriginCondaRevisions)) async function getOriginCondaRevisions(request, response) { let { channel, subdir, name } = request.params