eslint doesn't like function names that start with a capital
parent
427201abd5
commit
2e6f465055
|
@ -34,17 +34,18 @@ var Server = function() {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'UrlToZMS',
|
key: 'urlToZMS',
|
||||||
value: function UrlToZMS() {
|
value: function urlToZMS() {
|
||||||
const port = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
const port = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
||||||
return this.Protocol + '://' + this.Hostname + (port ? ':' + port : '') + (this.PathToZMS && this.PathToZMS != 'null' ? this.PathToZMS : '');
|
return this.Protocol + '://' + this.Hostname + (port ? ':' + port : '') + (this.PathToZMS && this.PathToZMS != 'null' ? this.PathToZMS : '');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'UrlToApi',
|
key: 'urlToApi',
|
||||||
value: function UrlToApi() {
|
value: function urlToApi() {
|
||||||
const port = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
const port = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
||||||
return this.Protocol + '://' + this.Hostname + (port ? ':' + port : '') + (this.PathToApi && this.PathToApi != 'null' ? this.PathToApi : '');
|
//return this.Protocol + '://' + this.Hostname + (port ? ':' + port : '') + (this.PathToApi && this.PathToApi != 'null' ? this.PathToApi : '');
|
||||||
|
return this.Protocol + '://' + 'zm.connortechnology.com' + (port ? ':' + port : '') + (this.PathToApi && this.PathToApi != 'null' ? this.PathToApi : '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue