feature/successJson #45

Merged
primakov merged 4 commits from feature/successJson into main 2024-12-08 11:18:36 +03:00
Showing only changes of commit e4b9aefe57 - Show all commits

View File

@ -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());