fix: mix cached and uncached data on the ws-agent

This commit is contained in:
Aarnav Tale 2025-01-10 14:24:15 +05:30
parent eb922c9318
commit 39546849ae
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -143,5 +143,5 @@ export async function queryAgent(nodes: string[]) {
}
}
return returnData
return returnData ? { ...cached, ...returnData } : cached;
}