fix: add spaces
All checks were successful
it-academy/dry-wash-pl/pipeline/pr-main This commit looks good
All checks were successful
it-academy/dry-wash-pl/pipeline/pr-main This commit looks good
This commit is contained in:
parent
0b2dae79ac
commit
e4b9aefe57
@ -8,8 +8,8 @@ const commonError = { success: false, message: 'Что-то пошло не та
|
|||||||
|
|
||||||
const sleep =
|
const sleep =
|
||||||
(duration = 1000) =>
|
(duration = 1000) =>
|
||||||
(req, res, next) =>
|
(req, res, next) =>
|
||||||
setTimeout(next, duration);
|
setTimeout(next, duration);
|
||||||
|
|
||||||
router.use(sleep());
|
router.use(sleep());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user