fix missing URL
This commit is contained in:
1 parent
45ac589975
commit
9f9a2be1d8
1 file changed
+1
-1
@@ -70,7 +70,7 @@ class NetworkService {
|
||||
throw new Error("Monitor URL is required");
|
||||
}
|
||||
|
||||
const { response, responseTime, error } = await this.timeRequest(() => this.ping.promise.probe(url));
|
||||
const { response, responseTime, error } = await this.timeRequest(() => this.ping.promise.probe(monitor.url));
|
||||
|
||||
if (!response) {
|
||||
throw new Error("Ping failed - no result returned");
|
||||
|
||||
Reference in new issue
Block a user