1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-18 20:59:39 +02:00

Properly handle Plaid investment account transfers (#2420)
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

This commit is contained in:
Zach Gollwitzer 2025-06-27 10:50:45 -04:00 committed by GitHub
parent 18148acd69
commit e4a82d85e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 34 additions and 1 deletions

View file

@ -24,7 +24,7 @@ class PlaidAccount::Investments::TransactionsProcessor
end
def cash_transaction?(transaction)
transaction["type"] == "cash" || transaction["type"] == "fee"
transaction["type"] == "cash" || transaction["type"] == "fee" || transaction["type"] == "transfer"
end
def find_or_create_trade_entry(transaction)