diff --git a/server.js b/server.js index c27cc97..47d34e3 100644 --- a/server.js +++ b/server.js @@ -37,7 +37,7 @@ function callLoadInitializeData(req, res, resdata){ resp.on('end', () => { if(data !== 'no match'){ - data = { + resdata = { "status": "INSERT ERROR", "detail": { "sheetname": "ini_データ入力シート", @@ -45,7 +45,7 @@ function callLoadInitializeData(req, res, resdata){ } } - resdata = JSON.parse(data); + //resdata = JSON.parse(data); console.log(resdata.status); if(resdata.status=="complete"){ res.status(200).send('OK');