eslint doesn't like function names that start with a capital
parent
427201abd5
commit
2e6f465055
|
@ -34,17 +34,18 @@ var Server = function() {
|
|||
}
|
||||
},
|
||||
{
|
||||
key: 'UrlToZMS',
|
||||
value: function UrlToZMS() {
|
||||
key: 'urlToZMS',
|
||||
value: function urlToZMS() {
|
||||
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 : '');
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'UrlToApi',
|
||||
value: function UrlToApi() {
|
||||
key: 'urlToApi',
|
||||
value: function urlToApi() {
|
||||
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