Merge branch 'master' into transaction_fee

This commit is contained in:
Angus McLeod
2018-02-02 17:47:53 +08:00
committed by GitHub
7 changed files with 72 additions and 44 deletions
@@ -91,8 +91,8 @@ export default Ember.Component.extend({
};
if(!self.get('paymentSuccess')) {
ajax('/charges', { data: params, method: 'post' }).then(data => {
self.concatMessages(data.messages);
ajax('/charges', { data: params, method: 'post' }).then(d => {
self.concatMessages(d.messages);
self.endTranscation();
});
}