diff --git a/lib/routes.js b/lib/routes.js index 4ad6ac8b..4d74c9ef 100644 --- a/lib/routes.js +++ b/lib/routes.js @@ -64,7 +64,7 @@ app.use(filterOldRequests) app.use('/poll', pollingRoutes) app.use('/terms_conditions', termsAndConditionsRoutes) app.use('/state', stateRoutes) -app.use('/notify', cashboxRoutes) +app.use('/cashbox', cashboxRoutes) app.use('/verify_user', verifyUserRoutes) app.use('/verify_transaction', verifyTxRoutes) diff --git a/lib/routes/cashboxRoutes.js b/lib/routes/cashboxRoutes.js index b4b36d80..caeeca27 100644 --- a/lib/routes/cashboxRoutes.js +++ b/lib/routes/cashboxRoutes.js @@ -10,6 +10,6 @@ function notifyCashboxRemoval (req, res, next) { .catch(next) } -router.post('/cashboxremoval', notifyCashboxRemoval) +router.post('/removal', notifyCashboxRemoval) module.exports = router