views/credit_cards.slim 🔗
@@ -76,7 +76,9 @@ javascript:
}).then(function(response) {
instance._mainView.hideLoadingIndicator();
- if(response.status !== 200) {
+ if(response.status === 200) {
+ if (xmpp_xep0050) xmpp_xep0050.execute();
+ } else {
return Promise.reject(response);
}
}).catch(function(err) {