Skip to content

Commit

Permalink
fix(configure): parse data response as JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Vheissu committed Mar 1, 2016
1 parent 2b9a814 commit e2a9a83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export function configure(aurelia, configCallback) {

return new Promise((resolve, reject) => {
instance.loadConfig().then(data => {
data = JSON.parse(data);
instance.setAll(data);
resolve();
});
Expand Down

0 comments on commit e2a9a83

Please sign in to comment.