Skip to content

🔥 The free & Open Source DocuSign alternative

374 B
Raw Blame
export default async function getContact(request) {
  const contactId = request.params.contactId;
  try {
    const contactCls = new Parse.Query('contracts_Contactbook');
    const contactRes = await contactCls.get(contactId, { useMasterKey: true });
    return contactRes;
  } catch (err) {
    console.log('Err in contracts_Contactbook class ', err);
    throw err;
  }
}