Fix repair route path

This commit is contained in:
Girish Ramakrishnan
2019-12-06 11:44:33 -08:00
parent a5b14e8d68
commit 060fe39f2e

View File

@@ -518,7 +518,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
};
Client.prototype.repairApp = function (id, data, callback) {
post('/api/v1/apps/' + id + '/configure/repair', data, null, function (error, data, status) {
post('/api/v1/apps/' + id + '/repair', data, null, function (error, data, status) {
if (error) return callback(error);
if (status !== 200 && status !== 202) return callback(new ClientError(status, data));