(id: string)
| 339 | }; |
| 340 | |
| 341 | export async function getProfile(id: string): Promise<PublicProfile> { |
| 342 | const result = await getProfileRequest(id); |
| 343 | return (result.status === 'found' ? result.user : undefined) as PublicProfile; |
| 344 | } |
| 345 | |
| 346 | export async function getProfileForStaticProps( |
| 347 | id: string, |
no test coverage detected