(baseUrl: string, inviteLinkId?: string | null)
| 41 | * @returns The complete invite link URL or null if no inviteLinkId |
| 42 | */ |
| 43 | export const createInviteLink = (baseUrl: string, inviteLinkId?: string | null): string | null => { |
| 44 | return inviteLinkId ? `${baseUrl}/invite?id=${inviteLinkId}` : null; |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * Adds a list of (potentially undefined) query parameters to a path. |
no outgoing calls
no test coverage detected