diff --git a/src/routes/postSkipSegments.js b/src/routes/postSkipSegments.js index ec3342c..ffcb29d 100644 --- a/src/routes/postSkipSegments.js +++ b/src/routes/postSkipSegments.js @@ -292,7 +292,7 @@ module.exports = async function postSkipSegments(req, res) { //add to private db as well privateDB.prepare('run', "INSERT INTO sponsorTimes VALUES(?, ?, ?)", [videoID, hashedIP, timeSubmitted]); - } catch (err) {s + } catch (err) { //a DB change probably occurred res.sendStatus(502); logger.error("Error when putting sponsorTime in the DB: " + videoID + ", " + segmentInfo.segment[0] + ", " +