From: charleswrayjr Date: Tue, 16 Sep 2025 20:15:53 +0000 (-0500) Subject: Cleaning up git routes. X-Git-Url: https://git.phasecustomsoft.com/static/git-logo.png?a=commitdiff_plain;h=357fb582228f4f61aa27e715b57f0351c4655d6c;p=phs-api.git Cleaning up git routes. --- diff --git a/src/routes/git.routes.js b/src/routes/git.routes.js index 84b7662..01b39aa 100755 --- a/src/routes/git.routes.js +++ b/src/routes/git.routes.js @@ -4,7 +4,8 @@ const { validate_auth } = require( '../middleware/routeHelpers' ); const gitController = require( '../controllers/git.controller' ); module.exports = ( passport ) => { - // router.use( validate_auth( passport ) ); + router.use( validate_auth( passport ) ); + router.post( '/create-repo', gitController.createRepo ); router.get( '/', gitController.getRepos ); router.delete( '/:name', gitController.deleteRepo );