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