diff --git a/libs/taskNew.js b/libs/taskNew.js index 98cb7f0..2f1233b 100644 --- a/libs/taskNew.js +++ b/libs/taskNew.js @@ -99,7 +99,7 @@ module.exports = { const userUuid = req.get('set-uuid'); // Valid UUID and no other task with same UUID? - if (/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(userUuid) && !TaskManager.singleton().find(userUuid)){ + if (/^[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(userUuid) && !TaskManager.singleton().find(userUuid)){ req.id = userUuid; next(); }else{