This commit is contained in:
boufni95 2025-09-12 17:14:13 +00:00
parent d7532a7a55
commit db89b07abb

View file

@ -449,10 +449,11 @@ class StorageProcessor {
} }
private async handleFind(operation: FindOperation<any>) { private async handleFind(operation: FindOperation<any>) {
console.log("handling find")
const res = await this.handleRead(operation.txId, eM => { const res = await this.handleRead(operation.txId, eM => {
return eM.getRepository(this.getEntity(operation.entity)).find(operation.q) return eM.getRepository(this.getEntity(operation.entity)).find(operation.q)
}) })
console.log("handled find")
this.sendResponse({ this.sendResponse({
success: true, success: true,
type: 'find', type: 'find',