Fixed submitted sponsors and prevented preview sponsors from being voted on

This commit is contained in:
Ajay Ramachandran
2020-04-04 23:35:44 -04:00
parent 55e17ceb60
commit f6945b56d8
3 changed files with 5 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ function submitVote(type, UUID, callback) {
});
}
async function submitTimes(videoID, callback) {
async function submitTimes(videoID: string, callback) {
//get the video times from storage
let sponsorTimes = Config.config.sponsorTimes.get(videoID);
let userID = Config.config.userID;