refactor: remove checkRateLimit and incrementApiCall completely

This commit is contained in:
2026-03-29 23:38:54 +02:00
parent 2365a95f98
commit 5f47feaf32
12 changed files with 75 additions and 163 deletions
-2
View File
@@ -43,8 +43,6 @@ document.addEventListener("DOMContentLoaded", async () => {
audioEnabled: false,
speechEnabled: false,
apiKey: "",
apiCallsToday: { text: 0, image: 0 },
lastApiCallDate: "",
};
updated.audioEnabled = nowEnabled;
await saveSettings(db, updated);