Skip to content

Commit

Permalink
ofmcc-6328 - code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
vietle-cgi committed Oct 30, 2024
1 parent cfd8fd7 commit f38b419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/components/fundingAgreements.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async function updateFundingAgreement(req, res) {
async function getFundingReallocationRequests(req, res) {
try {
const fundingReallocationRequests = []
let operation = `ofm_funding_envelope_changes?$select=ofm_funding_envelope_changeid,_ofm_funding_value,ofm_funding_envelope_from,ofm_funding_envelope_to,ofm_amount_base,createdon,statuscode
const operation = `ofm_funding_envelope_changes?$select=ofm_funding_envelope_changeid,_ofm_funding_value,ofm_funding_envelope_from,ofm_funding_envelope_to,ofm_amount_base,createdon,statuscode
&$filter=(_ofm_funding_value eq ${req?.params?.fundingAgreementId})&pageSize=500`
const response = await getOperation(operation)
response?.value?.forEach((reallocationRequest) => fundingReallocationRequests.push(new MappableObjectForFront(reallocationRequest, FundingReallocationRequestMappings).toJSON()))
Expand Down

0 comments on commit f38b419

Please sign in to comment.