diff --git a/handlers/contracts-post/doGetFees.js b/handlers/contracts-post/doGetFees.js index 913db951..b20e8250 100644 --- a/handlers/contracts-post/doGetFees.js +++ b/handlers/contracts-post/doGetFees.js @@ -4,8 +4,8 @@ export default async function handler(request, response) { const contractId = request.body.contractId; const contract = (await getContract(contractId)); const feeCategories = getFeeCategories({ - contractTypeId: contract.contractTypeId, - burialSiteTypeId: contract.burialSiteTypeId + burialSiteTypeId: contract.burialSiteTypeId, + contractTypeId: contract.contractTypeId }, { includeFees: true }); diff --git a/handlers/contracts-post/doGetFees.ts b/handlers/contracts-post/doGetFees.ts index 6f3cd194..a43181dd 100644 --- a/handlers/contracts-post/doGetFees.ts +++ b/handlers/contracts-post/doGetFees.ts @@ -14,8 +14,8 @@ export default async function handler( const feeCategories = getFeeCategories( { - contractTypeId: contract.contractTypeId, - burialSiteTypeId: contract.burialSiteTypeId + burialSiteTypeId: contract.burialSiteTypeId, + contractTypeId: contract.contractTypeId }, { includeFees: true