*Delete current-round property from response if it exists as it causes problems with deterministic processing

This commit is contained in:
Derrick Hammer 2022-08-01 00:06:47 -04:00
parent d3a90c7714
commit 451f646fb2
1 changed files with 4 additions and 1 deletions

View File

@ -95,7 +95,10 @@ export function proxyRestMethod(
};
};
return JSON.parse(JSON.stringify(resp, getCircularReplacer()));
if (resp?.body && "current-round" in resp?.body) {
delete resp?.body["current-round"];
}
return JSON.parse(JSON.stringify(resp?.body, getCircularReplacer()));
};
}