update appeal pdf file name
This commit is contained in:
@@ -319,8 +319,16 @@ export const createAppealPDFBlob = async (
|
||||
|
||||
const content = formContent;
|
||||
|
||||
const repDate = new Date();
|
||||
|
||||
let day = repDate.getDate();
|
||||
let month = repDate.getMonth() + 1;
|
||||
let year = repDate.getFullYear();
|
||||
|
||||
const pdfFileName = year + "-" + month + "-" + day + "_-_Appeal_Form";
|
||||
|
||||
//console.log(content);
|
||||
const blobName = caseID + "/files/" + caseID + ".pdf";
|
||||
const blobName = caseID + "/files/" + pdfFileName + ".pdf";
|
||||
|
||||
console.log("blobName:", blobName);
|
||||
const blockBlobClient = containerClient.getBlockBlobClient(blobName);
|
||||
|
||||
Reference in New Issue
Block a user