Fixed sendCall migration #69
This commit is contained in:
parent
70aae47cef
commit
86f0530482
@ -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…
Reference in New Issue
Block a user