rodriguestiago0 3 weeks ago committed by GitHub
commit 935444e5ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -62,7 +62,7 @@ export class AccountService {
> {
const { include = {}, skip, take, cursor, where, orderBy } = params;
include.balances = { orderBy: { date: 'desc' }, take: 1 };
include.balances = { orderBy: { createdAt: 'desc' }, take: 1 };
const accounts = await this.prismaService.account.findMany({
cursor,

Loading…
Cancel
Save