From 0de6084b71ece195478f343bc54af40d45e09498 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Wed, 20 Nov 2024 11:34:08 +0000 Subject: [PATCH 1/2] create pdf amendment --- actions/azurestorage.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/actions/azurestorage.js b/actions/azurestorage.js index 8a8997a6..bcbcc4eb 100644 --- a/actions/azurestorage.js +++ b/actions/azurestorage.js @@ -393,10 +393,7 @@ export const createAppealPDFBlob = async ( console.log("blobName:", blobName); const blockBlobClient = containerClient.getBlockBlobClient(blobName); - const uploadBlobResponse = await blockBlobClient.uploadStream( - content, - uploadOptions - ); + const uploadBlobResponse = await blockBlobClient.uploadStream(content); console.log(uploadBlobResponse); @@ -443,10 +440,7 @@ export const createRepPDFBlob = async ( console.log("blobName:", blobName); const blockBlobClient = containerClient.getBlockBlobClient(blobName); - const uploadBlobResponse = await blockBlobClient.uploadStream( - content, - uploadOptions - ); + const uploadBlobResponse = await blockBlobClient.uploadStream(content); let whichLocation = repName.indexOf("_IP_") > 0 From 9acc9437dfb60cbaed2d9ee650af216eb0a6412a Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Wed, 20 Nov 2024 11:53:43 +0000 Subject: [PATCH 2/2] updated involvement with correct contactid --- components/case/representation/representationComplete.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/components/case/representation/representationComplete.js b/components/case/representation/representationComplete.js index 0fc273a7..b34bc891 100644 --- a/components/case/representation/representationComplete.js +++ b/components/case/representation/representationComplete.js @@ -53,7 +53,7 @@ const RepComplete = (props) => { props.props.currentView.representationMessageSent != true && (setRepInvolvment( props.props.currentView.caseReference.incidentid, - props.props.props.props.accountDetails.loggedinUserId + props.props.props.props.accountDetails.accountDetails.contactid ), sendRepCompleteMessage( props.props.props.props.accountDetails.containerID, @@ -68,7 +68,8 @@ const RepComplete = (props) => { ")", "pinswg_Contact@odata.bind": "/contacts(" + - props.props.props.props.accountDetails.loggedinUserId + + props.props.props.props.accountDetails.accountDetails + .contactid + ")", "pinswg_appealcasetype": props.props.currentView.caseReference.appealType, @@ -92,9 +93,7 @@ const RepComplete = (props) => { {t("myrepresentations:rep-complete-heading")}

{t("myrepresentations:rep-complete-para-one")}

-

{t("myrepresentations:rep-complete-para-two")}

-

{t("myrepresentations:rep-complete-para-three")}