refactor: remove checkRateLimit and incrementApiCall completely
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user