import CRMRequestGet from '../../../../../lib/CRMRequestGet';

export default async function handler(req, res) 
{
	console.log("\n\n", "API", "SIGN", "/attorney/check");

	const { contract_number, addcontract_number, contactid, } = req.body;
	const payload = { 
		contract_number, 
		addcontract_number, 
		contactid, 
	};

	await CRMRequestGet({ req, res, 
		path: `${ process.env.CRM_API_HOST }/lk/Contract/CheckPowerAttorneyClient`, 
		params: payload, 
		log: true, 
	});
}