Updated posting to work with extra database column.

This commit is contained in:
Ajay Ramachandran
2019-07-23 18:31:42 -04:00
parent 11c099c3dc
commit db8c2e76e5

View File

@@ -129,7 +129,7 @@ app.get('/api/postVideoSponsorTimes', function (req, res) {
if (row == null) {
//not a duplicate, execute query
db.prepare("INSERT INTO sponsorTimes VALUES(?, ?, ?, ?, ?, ?, ?, ?)").run(videoID, startTime, endTime, 0, UUID, userID, hashedIP, timeSubmitted);
db.prepare("INSERT INTO sponsorTimes VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)").run(videoID, startTime, endTime, 0, UUID, userID, hashedIP, timeSubmitted, 0);
res.sendStatus(200);
} else {