From 6b88719cf6bc21a1b78b4a76026cdcd95ccf1894 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Mon, 12 Aug 2019 23:43:05 -0400 Subject: [PATCH] Reverted postVideoSponsors back to get method --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9a34b97..b1d23c9 100644 --- a/index.js +++ b/index.js @@ -83,7 +83,7 @@ function getIP(req) { } //add the post function -app.post('/api/postVideoSponsorTimes', function (req, res) { +app.get('/api/postVideoSponsorTimes', function (req, res) { let videoID = req.query.videoID; let startTime = req.query.startTime; let endTime = req.query.endTime;