Browse Source

Fixed sendCall migration #69

master
Igor Zhukov 11 years ago
parent
commit
86f0530482
  1. 2
      app/js/controllers.js

2
app/js/controllers.js

@ -47,7 +47,7 @@ angular.module('myApp.controllers', [])
MtpApiManager.invokeApi('auth.sendCall', { MtpApiManager.invokeApi('auth.sendCall', {
phone_number: $scope.credentials.phone_number, phone_number: $scope.credentials.phone_number,
phone_code_hash: $scope.credentials.phone_code_hash phone_code_hash: $scope.credentials.phone_code_hash
}).then(function () { }, options).then(function () {
$scope.callPending.success = true; $scope.callPending.success = true;
}); });
} else { } else {

Loading…
Cancel
Save