mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 13:09:04 +08:00
[eslint] Enable yoda and eqeqeq
This commit is contained in:
@@ -50,7 +50,7 @@ class DingDing extends NotificationProvider {
|
||||
};
|
||||
|
||||
let result = await axios(config);
|
||||
if (result.data.errmsg == "ok") {
|
||||
if (result.data.errmsg === "ok") {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user