MCPcopy Create free account
hub / github.com/block/buzz / updateProfile

Function updateProfile

desktop/src/shared/api/tauri.ts:479–484  ·  view source on GitHub ↗
(
  input: UpdateProfileInput,
)

Source from the content-addressed store, hash-verified

477}
478
479export async function updateProfile(
480 input: UpdateProfileInput,
481): Promise<Profile> {
482 const profile = await invokeTauri<RawProfile>("update_profile", input);
483 return fromRawProfile(profile);
484}
485
486export async function getUserProfile(pubkey?: string): Promise<Profile> {
487 const profile = await invokeTauri<RawProfile>("get_user_profile", { pubkey });

Callers 1

useUpdateProfileMutationFunction · 0.90

Calls 1

fromRawProfileFunction · 0.85

Tested by

no test coverage detected