From 7358faef1da236045742c92abb9ebd7c3f6ccd36 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 31 Jan 2025 14:42:36 +0300 Subject: [PATCH] delete function delay --- server/routers/kfu-m-24-1/sberhubproject/index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/server/routers/kfu-m-24-1/sberhubproject/index.js b/server/routers/kfu-m-24-1/sberhubproject/index.js index 70d6de8..cd881f4 100644 --- a/server/routers/kfu-m-24-1/sberhubproject/index.js +++ b/server/routers/kfu-m-24-1/sberhubproject/index.js @@ -4,13 +4,6 @@ const usersRouter = require('./users'); const eventsRouter = require('./events'); module.exports = router; -const delay = - (ms = 1000) => - (req, res, next) => { - setTimeout(next, ms); - }; - -router.use(delay()); router.use('/interests', interestsRouter); router.use('/users', usersRouter); router.use('/events', eventsRouter);