diff --git a/server/app.js b/server/app.js index dd70da66..c596da62 100644 --- a/server/app.js +++ b/server/app.js @@ -32,7 +32,7 @@ app.get('/api/api-docs.json', (req, res) => { app.use('/api/auth', require('./auth')) app.use('/api/users', require('./users')) -app.get('/api/organizations', require('./organizations')) +app.use('/api/organizations', require('./organizations')) // Static routing const oneWeek = process.env.NODE_ENV === 'development' ? 0 : 7 * 24 * 60 * 60