improve key check operator

This commit is contained in:
Scott Wilson
2025-06-23 10:36:09 -07:00
parent 647e13d654
commit 2137d13157
4 changed files with 7 additions and 7 deletions
@@ -83,7 +83,7 @@ export const registerInviteOrgRouter = async (server: FastifyZodProvider) => {
config: {
rateLimit: smtpRateLimit({
keyGenerator: (req) =>
(req.body as { membershipId?: string })?.membershipId?.trim().substring(0, 100) ?? req.realIp
(req.body as { membershipId?: string })?.membershipId?.trim().substring(0, 100) || req.realIp
})
},
method: "POST",