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
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -143,5 +143,5 @@ export async function queryAgent(nodes: string[]) {
}
}
return returnData
return returnData ? { ...cached, ...returnData } : cached;
}