diff --git a/src/services/storage/db/storageProcessor.ts b/src/services/storage/db/storageProcessor.ts index 8b3fd983..49ee54b1 100644 --- a/src/services/storage/db/storageProcessor.ts +++ b/src/services/storage/db/storageProcessor.ts @@ -449,12 +449,9 @@ class StorageProcessor { } private async handleFind(operation: FindOperation) { - console.log("handling find") - //console.log(operation.q) const res = await this.handleRead(operation.txId, eM => { return eM.getRepository(this.getEntity(operation.entity)).find(operation.q) }) - console.log("handled find") this.sendResponse({ success: true, type: 'find', diff --git a/src/services/storage/paymentStorage.ts b/src/services/storage/paymentStorage.ts index d7985523..a77c39a5 100644 --- a/src/services/storage/paymentStorage.ts +++ b/src/services/storage/paymentStorage.ts @@ -380,7 +380,6 @@ export default class { } else if (!!to) { time.created_at = LessThanOrEqual(new Date(to * 1000)) } - console.log("fetching db data") const [receivingInvoices, receivingAddresses, outgoingInvoices, outgoingTransactions, userToUser] = await Promise.all([ this.dbs.Find('UserReceivingInvoice', { where: { linkedApplication: q, ...time } }), this.dbs.Find('UserReceivingAddress', { where: { linkedApplication: q, ...time } }), @@ -388,10 +387,8 @@ export default class { this.dbs.Find('UserTransactionPayment', { where: { linkedApplication: q, ...time } }), this.dbs.Find('UserToUserPayment', { where: { linkedApplication: q, ...time } }) ]) - console.log("fetched db data 2") const receivingTransactions = await Promise.all(receivingAddresses.map(addr => this.dbs.Find('AddressReceivingTransaction', { where: { user_address: { serial_id: addr.serial_id }, ...time } }))) - console.log("fetched db data 3") return { receivingInvoices, receivingAddresses, receivingTransactions, outgoingInvoices, outgoingTransactions,