From 9c68ec3c46956df7e593f66921a9254358f63779 Mon Sep 17 00:00:00 2001 From: Ryderjj89 Date: Fri, 16 May 2025 18:48:57 -0400 Subject: [PATCH] Fix TypeScript error with explicit type for addr parameter --- backend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index 242d4c4..2bca110 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -327,7 +327,7 @@ app.post('/api/events/:slug/rsvp', async (req: Request, res: Response) => { // Use the event's email recipients if (eventEmailRecipients) { - recipients = eventEmailRecipients.split(',').map(addr => addr.trim()).filter(Boolean); + recipients = eventEmailRecipients.split(',').map((addr: string) => addr.trim()).filter(Boolean); } // If no recipients are set for the event, use the sender email as a fallback