From 6c4d5c07055572d7a5e91b605a9141452e8d6bc2 Mon Sep 17 00:00:00 2001 From: Official Noob <31563761+OfficialNoob@users.noreply.github.com> Date: Wed, 1 Jan 2020 14:47:41 +0000 Subject: [PATCH] submitTimes async --- background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background.js b/background.js index 0d1c4696..8e45f5ac 100644 --- a/background.js +++ b/background.js @@ -124,7 +124,7 @@ function submitVote(type, UUID, callback) { }) } -function submitTimes(videoID, callback) { +async function submitTimes(videoID, callback) { //get the video times from storage let sponsorTimeKey = 'sponsorTimes' + videoID; let sponsorTimes = SB.config.sponsorTimeKey[sponsorTimeKey];