(slug: string)
| 67 | } |
| 68 | |
| 69 | async function getPublicUserProfile(slug: string) { |
| 70 | "use cache"; |
| 71 | cacheLife("hours"); |
| 72 | cacheTag("users", `user-${slug}`); |
| 73 | return fetchUserProfile(slug); |
| 74 | } |
| 75 | |
| 76 | export async function getUserProfile(slug: string, userId?: string) { |
| 77 | // Owner reads (settings, own-profile views) must be fresh and include |
no test coverage detected