Commit f5e10dd8 authored by Ermolaev Timur's avatar Ermolaev Timur

Update tasks.ts

parent 7b89ded7
......@@ -34,7 +34,6 @@ router.post('/', async(req:Request, res:Response):Promise<Response>=>{
newTask.author= user;
newTask.accomplish = accomplish;
newTask.priority = priority;
console.log(newTask)
await newTask.save();
return res.send({newTask})
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment