강현태

Fix Header

...@@ -28,7 +28,7 @@ router.post('/getPredict',function(req,res,next){ ...@@ -28,7 +28,7 @@ router.post('/getPredict',function(req,res,next){
28 } 28 }
29 }) 29 })
30 //csv포맷에 맞춰 출력 30 //csv포맷에 맞춰 출력
31 - let csv1 = normal_json.map((val)=>val.name).join(','); 31 + let csv1 = normal_json.map((val)=>"\"" + val.name+"\"").join(',');
32 let csv2 = normal_json.map((val)=>val.value).join(','); 32 let csv2 = normal_json.map((val)=>val.value).join(',');
33 csv = csv1 + '\n' +csv2; 33 csv = csv1 + '\n' +csv2;
34 fs.writeFileSync('./inspection.csv',csv); 34 fs.writeFileSync('./inspection.csv',csv);
......