spectrum field working again
This commit is contained in:
@ -1,12 +1,6 @@
|
||||
import {parseAsync} from 'json2csv';
|
||||
|
||||
export default function csv(input: any[], f: (err, data) => void) {
|
||||
console.log(input[1000]);
|
||||
console.log(flatten(input[1000]));
|
||||
parseAsync([flatten(input[1000])]).then(csv => console.log(csv));
|
||||
console.log(input[1]);
|
||||
console.log(flatten(input[1]));
|
||||
parseAsync([flatten(input[1])]).then(csv => console.log(csv));
|
||||
parseAsync(input.map(e => flatten(e)), {includeEmptyRows: true})
|
||||
.then(csv => f(null, csv))
|
||||
.catch(err => f(err, null));
|
||||
|
@ -17,7 +17,7 @@ export default (mailAddress, subject, content, f) => { // callback, executed em
|
||||
contentType: "text/html"
|
||||
},
|
||||
from: {
|
||||
eMail: "dfop@bosch-iot.com",
|
||||
eMail: "definma@bosch-iot.com",
|
||||
password: "PlasticsOfFingerprintDigital"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user