From 5b90323b97ead4fe1a2e4d992e42a0f1adfd20bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Phil=20H=C3=B6fer?= <phil.hoefer@suma-ev.de>
Date: Tue, 25 Jul 2023 13:53:25 +0200
Subject: [PATCH] Improve documentation

---
 background.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/background.js b/background.js
index b10c2cd..238e9c1 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");
-- 
GitLab