Compare commits
1 Commits
f17cfd9bde
...
165701f68e
| Author | SHA1 | Date |
|---|---|---|
|
|
165701f68e |
|
|
@ -66,8 +66,7 @@ class Api {
|
|||
// crude stoppage attempt
|
||||
let response = await httpClient.get(endpoint, queryParams);
|
||||
if (lastReponse) {
|
||||
// Compare only the response body to avoid circular reference issues
|
||||
if (JSON.stringify(lastReponse.body) == JSON.stringify(response.body)) {
|
||||
if (JSON.stringify(lastReponse) == JSON.stringify(response)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -252,8 +252,7 @@ class FreeNASSshDriver extends ControllerZfsBaseDriver {
|
|||
// crude stoppage attempt
|
||||
let response = await httpClient.get(endpoint, queryParams);
|
||||
if (lastReponse) {
|
||||
// Compare only the response body to avoid circular reference issues
|
||||
if (JSON.stringify(lastReponse.body) == JSON.stringify(response.body)) {
|
||||
if (JSON.stringify(lastReponse) == JSON.stringify(response)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue