mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
Added support for float times
This commit is contained in:
parent
b167b0bc48
commit
367dc82d85
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -56,8 +56,8 @@ app.get('/api/postVideoSponsorTimes', function (req, res) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
startTime = parseInt(startTime);
|
startTime = parseFloat(startTime);
|
||||||
endTime = parseInt(endTime);
|
endTime = parseFloat(endTime);
|
||||||
|
|
||||||
let UUID = uuidv1();
|
let UUID = uuidv1();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue