send complete plan information (since we do not have id)

This commit is contained in:
Girish Ramakrishnan
2016-06-30 12:00:05 -05:00
parent 412243e656
commit 8f7e5f154b
2 changed files with 3 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
$scope.doChangePlan = function () {
$scope.planChange.busy = true;
Client.migrate($scope.requestedPlan.slug, $scope.currentRegionSlug, $scope.planChange.password, function (error) {
Client.migrate($scope.planChange.requestedPlan, $scope.currentRegionSlug, $scope.planChange.password, function (error) {
$scope.planChange.busy = false;
if (error) {