Skip to content

Commit

Permalink
Merge pull request #71 from shikshalokam/ED-811
Browse files Browse the repository at this point in the history
QRR bug fix
  • Loading branch information
aks30 authored Jan 10, 2023
2 parents f01682d + 11d876a commit 2c24df6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helper/common_handler_v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -2842,9 +2842,10 @@ const getDownloadableUrl = async function (filePath) {
exports.questionResponseReportPdf = async function ( dataObj ) {
return new Promise(async function (resolve, reject) {
try {

let solutionName = dataObj.filterData.solutionName;
solutionName = solutionName.replace(/[^a-zA-Z0-9 ]/g, "")
solutionName = solutionName.replace(/ /g,""); //remove space from solution name
solutionName = solutionName.replace(/\//g, ''); //remove slashes from solution name
var optionFormData = [];

let currentTempFolder = 'tmp/' + uuidv4() + "--" + Math.floor(Math.random() * (10000 - 10 + 1) + 10)
Expand Down

0 comments on commit 2c24df6

Please sign in to comment.