mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-10 22:51:47 +02:00
🔒️ Rate limit registration endpoint (#1153)
This commit is contained in:
parent
05d1e56805
commit
491af5c71b
9 changed files with 75 additions and 9 deletions
|
@ -21,6 +21,7 @@ export interface TRPCContextParams {
|
|||
*/
|
||||
absoluteUrl: (path?: string) => string;
|
||||
shortUrl: (path?: string) => string;
|
||||
ratelimit: (key: string) => Promise<{ success: boolean }>;
|
||||
}
|
||||
|
||||
export const createTRPCContext = async (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue