update upload

This commit is contained in:
Mohamed Nouffer
2021-09-14 21:09:54 +05:30
parent d0ea6c2f4a
commit 7ffddf2f88

View File

@ -60,11 +60,11 @@ function callInitFileMover(req, res) {
// The whole response has been received. Print out the result.
resp.on('end', () => {
//debug
data = `{
"construction_id": 3,
"file_name": "ini_データ入力シート.xlsx",
"file_type": "dataSheet"
}`
// data = `{
// "construction_id": 3,
// "file_name": "ini_データ入力シート.xlsx",
// "file_type": "dataSheet"
// }`
if(data !== 'no match'){
resdata = JSON.parse(data);
console.log(resdata);