mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-16 11:14:38 -05:00
run eslint
This commit is contained in:
parent
268dd33792
commit
debcac4924
@ -45,12 +45,9 @@ class Prometheus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
update(heartbeat, tlsInfo) {
|
update(heartbeat, tlsInfo) {
|
||||||
|
|
||||||
// TODO: TLS Info here
|
|
||||||
|
|
||||||
if (typeof tlsInfo !== "undefined") {
|
if (typeof tlsInfo !== "undefined") {
|
||||||
try {
|
try {
|
||||||
var is_valid = 0
|
let is_valid = 0
|
||||||
if (tlsInfo.valid == true) {
|
if (tlsInfo.valid == true) {
|
||||||
is_valid = 1
|
is_valid = 1
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user