Flows lib honours flowFilePretty setting (#837)

* Flow lib now adheres to pretty flow file, ui also adheres to this as well

* added settings mock object in flows_spec get api test

* reverted api changes, fixed parse of flow only

* try spell flows correctly
This commit is contained in:
Josh
2016-05-18 09:09:57 +12:00
committed by Nick O'Leary
parent bcff74327b
commit 3454e5ac77
4 changed files with 14 additions and 1 deletions

View File

@@ -37,6 +37,10 @@ module.exports = {
safeSettings.paletteCategories = settings.paletteCategories;
}
if (settings.flowFilePretty) {
safeSettings.flowFilePretty = settings.flowFilePretty;
}
res.json(safeSettings);
}
}