diff options
Diffstat (limited to 'server/controllers/api/pods.js')
-rw-r--r-- | server/controllers/api/pods.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/pods.js b/server/controllers/api/pods.js index e1fe6fb5d..da991f8d9 100644 --- a/server/controllers/api/pods.js +++ b/server/controllers/api/pods.js | |||
@@ -20,8 +20,8 @@ const router = express.Router() | |||
20 | 20 | ||
21 | router.get('/', listPods) | 21 | router.get('/', listPods) |
22 | router.post('/', | 22 | router.post('/', |
23 | podsMiddleware.setBodyHostPort, // We need to modify the host before running the validator! | ||
23 | validators.podsAdd, | 24 | validators.podsAdd, |
24 | podsMiddleware.setBodyHostPort, | ||
25 | addPods | 25 | addPods |
26 | ) | 26 | ) |
27 | router.post('/makefriends', | 27 | router.post('/makefriends', |