Skip to content
Snippets Groups Projects
Commit 788446ad authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Update uptadetAt simulation timestamp

parent bcf6c236
No related branches found
No related tags found
1 merge request!116Release v1.0.0
......@@ -139,6 +139,7 @@ simulationApp.put('/:id', passport.authenticate('bearer', { session: false }), (
simulation.content = req.body.content || simulation.content;
simulation.name = req.body.name || simulation.name;
simulation.updatedAt = Date.now;
simulation.save((err) => {
if(err) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment