From 367dc82d857f317af36a97cd85c9ff9900b4269d Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 9 Jul 2019 15:20:10 -0400 Subject: [PATCH] Added support for float times --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index a57fed3..8062824 100644 --- a/index.js +++ b/index.js @@ -56,8 +56,8 @@ app.get('/api/postVideoSponsorTimes', function (req, res) { return; } - startTime = parseInt(startTime); - endTime = parseInt(endTime); + startTime = parseFloat(startTime); + endTime = parseFloat(endTime); let UUID = uuidv1();