mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-12 14:37:17 +03:00
Added new submission method
This commit is contained in:
9
src/routes/oldSubmitSponsorTimes.js
Normal file
9
src/routes/oldSubmitSponsorTimes.js
Normal file
@@ -0,0 +1,9 @@
|
||||
var config = require('../config.js');
|
||||
|
||||
var postSkipSegments = require('./postSkipSegments.js');
|
||||
|
||||
module.exports = async function submitSponsorTimes(req, res) {
|
||||
req.query.category = "sponsor";
|
||||
|
||||
return postSkipSegments(req, res);
|
||||
}
|
||||
Reference in New Issue
Block a user