Skip to content

Commit

Permalink
Fixed bug #39 #40 (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdciri authored Apr 2, 2018
1 parent 3c28b04 commit 97f8ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const self = module.exports = {
fileDataPromise = getRawDataForDataStructure(JSON_TYPE, components)
}else {
fileDataPromise = askChartTypeQuestions()
.then((answer) => getRawDataForDataStructure(answer.data_structure, components));
.then((answer) => getGraphDataFromChartType(answer.chart_type, components));
}
fileDataPromise.then((fileData) => createFileAndSave(fileData));

Expand Down

0 comments on commit 97f8ec5

Please sign in to comment.