Skip to content

Commit b502494

Browse files
committedMay 26, 2018
Merge branch 'master' of https://github.com/scull1916/TrypNinja
2 parents 0ff937b + e6c4195 commit b502494

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎routes/htmlRoutes.js

+9
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ router.post('/S3', parser.single('selectedFile'), function (req, res) {
3030
caption: req.body.caption,
3131
EventId: req.body.storyId
3232
}).then(function(dbEvent) {
33+
// db.Event.update({
34+
// updatedAt: dbEvent.dataValues.updatedAt },
35+
// {
36+
// where:
37+
// {
38+
// id: dbEvent.dataValues.EventId
39+
// }
40+
// });
41+
3342
console.log("dataValues updatedAt: ", dbEvent.dataValues.updatedAt);
3443
console.log("dataValues EventId: ", dbEvent.dataValues.EventId);
3544
res.json(dbEvent);

0 commit comments

Comments
 (0)
Please sign in to comment.