Added pretty json to export

This commit is contained in:
Mitchell McCaffrey 2021-02-14 10:11:52 +11:00
parent 18a82ec0e7
commit db801930cb

View File

@ -72,6 +72,7 @@ let service = {
progressCallback,
filter,
numRowsPerChunk: 1,
prettyJson: true,
});
db.close();
return data;
@ -99,7 +100,6 @@ let service = {
filter: (table, value) => {
// Ensure values are of the correct form
if (table === "maps" || table === "tokens") {
console.log("id" in value && "owner" in value);
return "id" in value && "owner" in value;
}
if (table === "states") {