Remove supportConfig route

This commit is contained in:
Johannes Zellner
2023-12-03 16:24:16 +01:00
parent b9e584752b
commit 8927634636
7 changed files with 12 additions and 51 deletions

View File

@@ -1088,6 +1088,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
callback(null, data);
});
};
Client.prototype.remountBackupStorage = function (callback) {
post('/api/v1/backups/remount', {}, null, function (error, data, status) {
if (error) return callback(error);
@@ -1097,15 +1098,6 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
});
};
Client.prototype.getSupportConfig = function (callback) {
get('/api/v1/support/config', null, function (error, data, status) {
if (error) return callback(error);
if (status !== 200) return callback(new ClientError(status, data));
callback(null, data);
});
};
Client.prototype.setExternalLdapConfig = function (config, callback) {
post('/api/v1/external_ldap/config', config, null, function (error, data, status) {
if (error) return callback(error);