renewCerts: do not pass domain

This commit is contained in:
Girish Ramakrishnan
2021-03-13 21:52:37 -08:00
parent 4dffce0b71
commit 168636e493
2 changed files with 3 additions and 3 deletions

View File

@@ -2180,8 +2180,8 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
});
};
Client.prototype.renewCerts = function (domain, callback) {
post('/api/v1/cloudron/renew_certs', { domain: domain || null }, null, function (error, data, status) {
Client.prototype.renewCerts = function (callback) {
post('/api/v1/cloudron/renew_certs', {}, null, function (error, data, status) {
if (error) return callback(error);
if (status !== 202) return callback(new ClientError(status, data));