Merge pull request #1768 from christopherpickering/patch-1
[beta] prevent null workstation #'s from passing..
This commit is contained in:
commit
bef0febede
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "uptime-kuma",
|
||||
"version": "1.16.1",
|
||||
"version": "1.17.0-beta.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "uptime-kuma",
|
||||
"version": "1.16.1",
|
||||
"version": "1.17.0-beta.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-svg-core": "~1.2.36",
|
||||
|
|
|
@ -283,7 +283,7 @@ class Monitor extends BeanModel {
|
|||
username: this.basic_auth_user,
|
||||
password: this.basic_auth_pass,
|
||||
domain: this.authDomain,
|
||||
workstation: this.authWorkstation,
|
||||
workstation: this.authWorkstation ? this.authWorkstation : undefined
|
||||
});
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue