refactor network service
This commit is contained in:
1 parent
9925e10ffc
commit
45ac589975
5 files changed
+206
-310
No files matched your search
@@ -31,7 +31,8 @@ class SuperSimpleQueueHelper {
|
||||
});
|
||||
return;
|
||||
}
|
||||
const networkResponse = await this.networkService.getStatus(monitor);
|
||||
const networkResponse = await this.networkService.requestStatus(monitor);
|
||||
|
||||
if (!networkResponse) {
|
||||
throw new Error("No network response");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user