diff --git a/src/background.ts b/src/background.ts index 77f17fd9..05e884b5 100644 --- a/src/background.ts +++ b/src/background.ts @@ -227,12 +227,12 @@ async function submitTimes(videoID: string, callback) { increasedContributionAmount = true; Config.config.sponsorTimesContributed = Config.config.sponsorTimesContributed + sponsorTimes.length; } - } else if (error) { - callback({ - statusCode: -1 - }); } - } + } else if (error) { + callback({ + statusCode: -1 + }); + } }); } }