update object has changed

part of cloudron/box#749
This commit is contained in:
Girish Ramakrishnan
2020-12-21 12:49:21 -08:00
parent 94040cf3f9
commit de5c1ca1cf
3 changed files with 11 additions and 11 deletions

View File

@@ -843,7 +843,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
confirmUpdate: function () {
$scope.updates.busyUpdate = true;
Client.updateApp($scope.app.id, $scope.config.update.apps[$scope.app.id].manifest, { skipBackup: $scope.updates.skipBackup }, function (error) {
Client.updateApp($scope.app.id, $scope.config.update[$scope.app.id].manifest, { skipBackup: $scope.updates.skipBackup }, function (error) {
$scope.updates.busyUpdate = false;
if (error) return Client.error(error);