Skip to content

Commit

Permalink
refactor: transaction fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
shahin-hq committed Jan 14, 2025
1 parent 2351375 commit 5396b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/profiles/source/transaction.aggregate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class TransactionAggregate implements ITransactionAggregate {

query.orderBy && historyKeys.push(query.orderBy);
query.limit && historyKeys.push(query.limit.toString());
query.types?.length > 0 && historyKeys.push(query.types.join(":"));
query?.types.length && historyKeys.push(query?.types.join(":"));

const historyKey = historyKeys.join("-");

Expand Down

0 comments on commit 5396b01

Please sign in to comment.