mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 06:34:15 +00:00
feat: reporting
This commit is contained in:
parent
334b6ec9b6
commit
f633648fee
15 changed files with 494 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue