diff --git a/actions/azurestorage.js b/actions/azurestorage.js index 3d9763d2..abdbc590 100644 --- a/actions/azurestorage.js +++ b/actions/azurestorage.js @@ -423,8 +423,8 @@ export const createRepPDFBlob = async ( ? "846040003" : repName.indexOf("_Impact") > 0 ? "846040029" - : repName.indexOf("_Consultation_Response") > 0 - ? "846040005" + : repName.indexOf("_Consultation_Response_") > 0 + ? "846040036" : "846040002"; const tags = { @@ -611,6 +611,10 @@ export const uploadFile = async (formContent, containerName, foldername) => { ? "846040003" : files[prop][0].fieldName.indexOf("_Impact_") > 0 ? "846040001" + : files[prop][0].fieldName.indexOf( + "_Consultation_Response_" + ) > 0 + ? "846040036" : "846040000"; const tags = { @@ -737,6 +741,7 @@ export const uploadSingleFile = async ( { pattern: /_Questionnaire_/, value: "846040001" }, { pattern: /_Comments_/, value: "846040003" }, { pattern: /_Impact_/, value: "846040001" }, + { pattern: /_Consultation_Response_/, value: "846040036" }, ]; // Find a matching pattern or fallback to default