Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Add validation filters for Transactions.count
Browse files Browse the repository at this point in the history
  • Loading branch information
michielmulders committed Mar 22, 2019
1 parent 65220ca commit d32d707
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/src/components/storage/entities/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ class Transaction extends BaseEntity {
*/
// eslint-disable-next-line no-unused-vars
count(filters, _options = {}, tx) {
this.validateFilters(filters);
filters = Transaction._sanitizeFilters(filters);

const mergedFilters = this.mergeFilters(filters);
Expand Down

0 comments on commit d32d707

Please sign in to comment.