Fixed sendCall migration #69

This commit is contained in:
Igor Zhukov 2014-02-23 12:42:05 +01:00
parent 70aae47cef
commit 86f0530482

View File

@ -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 {