Commit 39bfa175 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent e2602738
...@@ -182,7 +182,7 @@ function createfileADV(data) { ...@@ -182,7 +182,7 @@ function createfileADV(data) {
function createConfileADV(data) { function createConfileADV(data) {
// console.log(data) // console.log(data)
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
fs.writeFile('con.json', data, 'utf8', function (err) { fs.writeFile('con1.json', data, 'utf8', function (err) {
if (err) reject(err); if (err) reject(err);
else resolve(data); else resolve(data);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment