mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-31 00:36:16 +00:00
Delinting
This commit is contained in:
parent
23736549f9
commit
0dcb7aed21
2 changed files with 4 additions and 5 deletions
|
@ -157,7 +157,7 @@ class Monitor extends BeanModel {
|
||||||
if (this.basicauth_user) {
|
if (this.basicauth_user) {
|
||||||
basicauthHeader = {
|
basicauthHeader = {
|
||||||
"Authorization": "Basic " + this.encodeB64(this.basicauth_user, this.basicauth_pass)
|
"Authorization": "Basic " + this.encodeB64(this.basicauth_user, this.basicauth_pass)
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
|
|
|
@ -496,7 +496,6 @@ export default {
|
||||||
this.monitor.headers = JSON.stringify(JSON.parse(this.monitor.headers), null, 4);
|
this.monitor.headers = JSON.stringify(JSON.parse(this.monitor.headers), null, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (this.isAdd) {
|
if (this.isAdd) {
|
||||||
this.$root.add(this.monitor, async (res) => {
|
this.$root.add(this.monitor, async (res) => {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue