Skip to content

Commit

Permalink
Merge pull request #4 from ukabu/fix-#3-client-does-not-return-flags
Browse files Browse the repository at this point in the history
fix #3 client-does-not-return-flags
  • Loading branch information
kyle-ssg committed Dec 19, 2018
2 parents f96cb36 + 905f575 commit b820727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bullet-train-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const BulletTrain = class {
} else {
return this.getJSON(api + "flags/")
.then(res => {
handleResponse(res)
handleResponse({flags: res})
}).catch(({ message }) => {
onError && onError({ message })
});
Expand Down

0 comments on commit b820727

Please sign in to comment.