From 146bb5415488e98929b4dfb17ac89f969b89189d Mon Sep 17 00:00:00 2001 From: Harshit Date: Sun, 28 Jun 2026 12:58:34 +0530 Subject: [PATCH 1/2] fix(event): Added organiserId in response --- apps/backend/src/routes/event.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/backend/src/routes/event.ts b/apps/backend/src/routes/event.ts index ad7b34c7..df8d17d4 100644 --- a/apps/backend/src/routes/event.ts +++ b/apps/backend/src/routes/event.ts @@ -130,6 +130,7 @@ export async function eventRoutes( id: details.id, name: details.name, slug: details.slug, + organizerId: details.organizerId, description: details.description, location: details.location, organizerUsername: details.organizer.username, From 433a825cea66658c5ab170e516d4604785a5c488 Mon Sep 17 00:00:00 2001 From: Harshit Date: Sun, 28 Jun 2026 13:04:11 +0530 Subject: [PATCH 2/2] fix(event):Added in the query --- apps/backend/src/routes/event.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/src/routes/event.ts b/apps/backend/src/routes/event.ts index df8d17d4..37314896 100644 --- a/apps/backend/src/routes/event.ts +++ b/apps/backend/src/routes/event.ts @@ -118,7 +118,7 @@ export async function eventRoutes( where: { slug: paramsSlug }, include: { _count: { select: { attendees: true } }, - organizer: { select: { username: true, displayName: true } }, + organizer: { select: {id: true, username: true, displayName: true } }, }, });