mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
Fixed server crash.
This commit is contained in:
parent
7e041e5b49
commit
abfbba2ad0
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
@ -112,6 +112,7 @@ app.get('/api/postVideoSponsorTimes', function (req, res) {
|
|||
if (startTime > endTime) {
|
||||
//time can't go backwards
|
||||
res.sendStatus(400);
|
||||
return;
|
||||
}
|
||||
|
||||
//this can just be a hash of the data
|
||||
|
|
Loading…
Reference in a new issue