Skip to content

Commit

Permalink
Select exchange trades for trx tax report
Browse files Browse the repository at this point in the history
  • Loading branch information
ZIMkaRU committed Jun 28, 2024
1 parent 7d91a35 commit b6fcbdd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions workers/loc.api/sync/transaction.tax.report/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,10 @@ class TransactionTaxReport {
{
filter: {
user_id: user._id,
$eq: {
user_id: user._id,
_isExchange: 1
},
$lte: { mtsCreate: end },
$gte: { mtsCreate: start },
...symbFilter
Expand Down

0 comments on commit b6fcbdd

Please sign in to comment.