diff --git a/background.js b/background.js index b10c2cdaebc9e98fad0668d1294993a4fe4fc5e6..238e9c171b96115e1d5816b75c5a4d19fdbccd76 100644 --- a/background.js +++ b/background.js @@ -48,7 +48,7 @@ function updateStorageFromCookies() {sites.forEach((site) => { /** * Get count (max 10) tokens and store them in the stash * @param {number} count - * @returns {boolean} True if successfull, false otherwise. + * @returns {Promise<boolean>} Resolves to true if successfull, false otherwise. */ function refillTokenStash(count) { // TODO: handle count >10 console.log("refilling tokens");