diff --git a/stubs/api/index.js b/stubs/api/index.js index b4df477..8fe4716 100644 --- a/stubs/api/index.js +++ b/stubs/api/index.js @@ -8,8 +8,8 @@ const commonError = { success: false, message: 'Что-то пошло не та const sleep = (duration = 1000) => - (req, res, next) => - setTimeout(next, duration); + (req, res, next) => + setTimeout(next, duration); router.use(sleep());