feat: reporting

This commit is contained in:
trafficlunar 2025-05-02 18:32:01 +01:00
parent 334b6ec9b6
commit f633648fee
15 changed files with 494 additions and 11 deletions

View file

@ -80,7 +80,7 @@ export class RateLimit {
this.data = await this.check(identifier);
if (!this.data.success) return this.sendResponse({ success: false, error: "Rate limit exceeded. Please try again later." }, 429);
if (!this.data.success) return this.sendResponse({ error: "Rate limit exceeded. Please try again later." }, 429);
return;
}
}