diff --git a/packages/wallet/backend/src/account/service.ts b/packages/wallet/backend/src/account/service.ts index dc3eb153d..f0e5e1e00 100644 --- a/packages/wallet/backend/src/account/service.ts +++ b/packages/wallet/backend/src/account/service.ts @@ -131,13 +131,10 @@ export class AccountService implements IAccountService { let query = Account.query().where('userId', userId) if (hasPaymentPointer) query = query - .withGraphFetched({ paymentPointers: true, wmPaymentPointers: true }) + .withGraphFetched({ paymentPointers: true}) .modifyGraph('paymentPointers', (builder) => { builder.where({ active: true }).orderBy('createdAt', 'ASC') }) - .modifyGraph('wmPaymentPointers', (builder) => - builder.where({ active: true }).orderBy('createdAt', 'ASC') - ) const accounts = await query