Fix backup API routes

This commit is contained in:
Girish Ramakrishnan
2018-11-17 19:55:37 -08:00
parent c319fd5862
commit 00450dc048
2 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
$scope.createBackup.result = '';
$scope.createBackup.errorMessage = '';
Client.backup(function (error) {
Client.startBackup(function (error) {
if (error) {
if (error.statusCode === 409 && error.message.indexOf('full_backup') !== -1) {
$scope.createBackup.errorMessage = 'Backup already in progress. Please retry later.';