Added endpoint for github webhooks

This commit is contained in:
Kevin Midboe
2017-04-14 17:14:11 +02:00
parent 36d1f4473f
commit 59e56b970e
2 changed files with 16 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ router.post('/v1/seasoned/verify/:strayId', require('./controllers/seasoned/veri
// router.get('/v1/plex/search', require('./controllers/plex/searchMedia.js'));
// router.post('/v1/plex/request/:mediaId', require('./controllers/plex/request.js'));
router.post('/v1/git/hooks', require('./controllers/git/dumpHook.js'));
// REGISTER OUR ROUTES -------------------------------
// all of our routes will be prefixed with /api