add rate limit to all email-sending endpoints

This commit is contained in:
x032205
2025-05-09 11:29:53 -04:00
parent 428c60880a
commit e9d8979cf4
8 changed files with 33 additions and 6 deletions
+3
View File
@@ -196,6 +196,9 @@ export const registerScimRouter = async (server: FastifyZodProvider) => {
server.route({
url: "/Users",
method: "POST",
config: {
rateLimit: writeLimit
},
schema: {
body: z.object({
schemas: z.array(z.string()),