|
@@ -41,7 +41,8 @@ export class ServiceProviderController {
|
|
|
|
|
|
if (!checkServiceProvider) {
|
|
if (!checkServiceProvider) {
|
|
return "No service provider found";
|
|
return "No service provider found";
|
|
- } else {
|
|
|
|
|
|
+ } else if (checkServiceProvider.url > "") { // is valid url
|
|
|
|
+
|
|
let sub = this.http.get(checkServiceProvider.url + query.path).subscribe(
|
|
let sub = this.http.get(checkServiceProvider.url + query.path).subscribe(
|
|
x => {
|
|
x => {
|
|
let newResponse = {};
|
|
let newResponse = {};
|