Skip to content

Commit 7ef8bfe

Browse files
committed
feat: add info in speakers in the api
1 parent 819f3ee commit 7ef8bfe

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

website/app/routes/api.speakers.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ export async function loader({ context }: Route.ActionArgs) {
44
const speakersWithTalks = await context.queryClient.getSpeakersWithTalks();
55
const data = speakersWithTalks.speakers.map((speaker) => ({
66
name: speaker.name,
7+
title: speaker.title,
8+
link: speaker.socials.linkedinUrl || speaker.socials.twitterUrl || speaker.socials.blueskyUrl,
9+
710
}));
811
return Response.json({ success: true, data });
9-
}
12+
}

0 commit comments

Comments
 (0)