MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / update

Method update

lib/models/contacts.ts:104–117  ·  view source on GitHub ↗
(
    userId: string,
    contactUrl: string,
    vCard: string,
  )

Source from the content-addressed store, hash-verified

102 }
103
104 static async update(
105 userId: string,
106 contactUrl: string,
107 vCard: string,
108 ): Promise<void> {
109 const client = await getClient(userId);
110
111 await client.updateVCard({
112 vCard: {
113 url: contactUrl,
114 data: vCard,
115 },
116 });
117 }
118
119 static async delete(
120 userId: string,

Callers

nothing calls this directly

Calls 2

updateVCardMethod · 0.80
getClientFunction · 0.70

Tested by

no test coverage detected