From b2f6a06f3cd6949fc58aa80499f4b3f0ae34383d Mon Sep 17 00:00:00 2001 From: Jen Beckett <115109120+jenbeckett@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:41:34 -0800 Subject: [PATCH 1/2] fix for prod --- backend/src/components/application.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/src/components/application.js b/backend/src/components/application.js index e07edb417..e5c39739c 100644 --- a/backend/src/components/application.js +++ b/backend/src/components/application.js @@ -194,9 +194,10 @@ async function upsertParentFees(req, res) { // log.info(feeGroup.ccfriApplicationGuid); let payload = { - 'ccof_frequency': feeGroup.feeFrequency, - 'ccof_ChildcareCategory@odata.bind': childCareCategory, - 'ccof_ProgramYear@odata.bind': programYear, + ccof_frequency: feeGroup.feeFrequency, + "ccof_ChildcareCategory@odata.bind": childCareCategory, + "ccof_ProgramYear@odata.bind": programYear, + "ccof_ApplicationCCFRI@odata.bind": `/ccof_applicationccfris(${feeGroup.ccfriApplicationGuid})`, }; Object.assign(payload, From 0b736e132f79c363a21e8719d7c11bbcfcdb09db Mon Sep 17 00:00:00 2001 From: Jen Beckett <115109120+jenbeckett@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:52:29 -0800 Subject: [PATCH 2/2] changed quotes --- backend/src/components/application.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/components/application.js b/backend/src/components/application.js index e5c39739c..263f2f2af 100644 --- a/backend/src/components/application.js +++ b/backend/src/components/application.js @@ -194,10 +194,10 @@ async function upsertParentFees(req, res) { // log.info(feeGroup.ccfriApplicationGuid); let payload = { - ccof_frequency: feeGroup.feeFrequency, - "ccof_ChildcareCategory@odata.bind": childCareCategory, - "ccof_ProgramYear@odata.bind": programYear, - "ccof_ApplicationCCFRI@odata.bind": `/ccof_applicationccfris(${feeGroup.ccfriApplicationGuid})`, + 'ccof_frequency': feeGroup.feeFrequency, + 'ccof_ChildcareCategory@odata.bind': childCareCategory, + 'ccof_ProgramYear@odata.bind': programYear, + 'ccof_ApplicationCCFRI@odata.bind': `/ccof_applicationccfris(${feeGroup.ccfriApplicationGuid})`, }; Object.assign(payload,