Merge pull request #39357 from RJPvT/patch-7

fix: empty category in Plaid
This commit is contained in:
rohitwaghchaure
2024-01-14 09:42:55 +05:30
committed by GitHub

View File

@@ -239,6 +239,7 @@ def new_bank_transaction(transaction):
withdrawal = 0.0 withdrawal = 0.0
tags = [] tags = []
if transaction["category"]:
try: try:
tags += transaction["category"] tags += transaction["category"]
tags += [f'Plaid Cat. {transaction["category_id"]}'] tags += [f'Plaid Cat. {transaction["category_id"]}']