( account: Pick<accounts, 'slackDomain' | 'discordDomain' | 'discordServerId'> )
| 31 | } |
| 32 | |
| 33 | function getCommunityName( |
| 34 | account: Pick<accounts, 'slackDomain' | 'discordDomain' | 'discordServerId'> |
| 35 | ) { |
| 36 | return ( |
| 37 | account.slackDomain || |
| 38 | account.discordDomain || |
| 39 | account.discordServerId || |
| 40 | '' |
| 41 | ); |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * free - https://linen.dev/{s,d}/{communityName} |
no outgoing calls
no test coverage detected