mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-31 21:59:49 +03:00
submitTimes async
This commit is contained in:
@@ -124,7 +124,7 @@ function submitVote(type, UUID, callback) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function submitTimes(videoID, callback) {
|
async function submitTimes(videoID, callback) {
|
||||||
//get the video times from storage
|
//get the video times from storage
|
||||||
let sponsorTimeKey = 'sponsorTimes' + videoID;
|
let sponsorTimeKey = 'sponsorTimes' + videoID;
|
||||||
let sponsorTimes = SB.config.sponsorTimeKey[sponsorTimeKey];
|
let sponsorTimes = SB.config.sponsorTimeKey[sponsorTimeKey];
|
||||||
|
|||||||
Reference in New Issue
Block a user