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

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

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

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