MCPcopy Create free account
hub / github.com/cursor/community-plugins / getPublicUserProfile

Function getPublicUserProfile

apps/cursor/src/data/queries.ts:69–74  ·  view source on GitHub ↗
(slug: string)

Source from the content-addressed store, hash-verified

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

Callers 1

getUserProfileFunction · 0.85

Calls 1

fetchUserProfileFunction · 0.85

Tested by

no test coverage detected