MCPcopy Create free account
hub / github.com/simstudioai/sim / collectAttendees

Function collectAttendees

apps/sim/connectors/granola/granola.ts:181–186  ·  view source on GitHub ↗

* Collects attendee display names (falling back to email) for tag mapping.

(note: GranolaNoteDetail)

Source from the content-addressed store, hash-verified

179 * Collects attendee display names (falling back to email) for tag mapping.
180 */
181function collectAttendees(note: GranolaNoteDetail): string[] {
182 if (!Array.isArray(note.attendees)) return []
183 return note.attendees
184 .map((a) => a.name?.trim() || a.email?.trim() || '')
185 .filter((name): name is string => name.length > 0)
186}
187
188/**
189 * Collects folder names for tag mapping.

Callers 1

granola.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected