eslint doesn't like function names that start with a capital

pull/3653/head
Isaac Connor 2023-01-12 09:38:13 -05:00
parent 427201abd5
commit 2e6f465055
1 changed files with 6 additions and 5 deletions

View File

@ -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 : '');
}
}
]);