From 3085b0e30c0d04c2a70a85845b135be2f5e2f217 Mon Sep 17 00:00:00 2001 From: TAG-Epic Date: Mon, 24 Aug 2020 22:45:47 +0200 Subject: [PATCH] Remove random s --- src/routes/postSkipSegments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] + ", " +