diff --git a/server/util-server.js b/server/util-server.js index fa635d65..146bfbfc 100644 --- a/server/util-server.js +++ b/server/util-server.js @@ -560,7 +560,7 @@ exports.radius = function ( * Redis server ping * @param {string} dsn The redis connection string * @param {boolean} rejectUnauthorized If false, allows unverified server certificates. - * @returns {Promise} + * @returns {Promise} Response from server */ exports.redisPingAsync = function (dsn, rejectUnauthorized) { return new Promise((resolve, reject) => { diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index dc25d2d9..a31ecddf 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -1118,10 +1118,9 @@ message HealthCheckResponse { /** * Retrieves the appropriate ignore TLS error label based on the monitor type. * - * @return {string} Returns the non specific label if the monitor type is 'redis', - * otherwise, returns the default. + * @returns {string} Returns the non specific label if the monitor type is 'redis', otherwise, returns the default. */ - ignoreTlsLabel() { + ignoreTlsLabel() { return this.monitor.type === "redis" ? this.$t("ignoreTLSErrorGeneral") : this.$t("ignoreTLSError");