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

Method get

lib/models/contacts.ts:75–83  ·  view source on GitHub ↗
(
    userId: string,
    addressBookId: string,
    contactId: string,
  )

Source from the content-addressed store, hash-verified

73 }
74
75 static async get(
76 userId: string,
77 addressBookId: string,
78 contactId: string,
79 ): Promise<Contact | undefined> {
80 const contacts = await this.list(userId, addressBookId);
81
82 return contacts.find((contact) => contact.uid === contactId);
83 }
84
85 static async create(
86 userId: string,

Callers

nothing calls this directly

Calls 1

listMethod · 0.95

Tested by

no test coverage detected