From f07e0bf967a8ce640fa10aff03469a8837bfc172 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 6 Jan 2020 16:38:48 +0100 Subject: [PATCH] Fix typo to actually restart an app --- src/js/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/client.js b/src/js/client.js index eeb58d765..35fb76e2f 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -556,7 +556,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout }; Client.prototype.restartApp = function (id, callback) { - post('/api/v1/apps/' + id + '/start', {}, null, function (error, data, status) { + post('/api/v1/apps/' + id + '/restart', {}, null, function (error, data, status) { if (error) return callback(error); if (status !== 202) return callback(new ClientError(status, data));