From 64165bc39db27abe38b4a7dd98164ec8319f31c2 Mon Sep 17 00:00:00 2001 From: BackSlasher Date: Thu, 10 Aug 2023 20:40:36 +0300 Subject: [PATCH] fix(mizrahi): allow transactions without yitra (#804) --- src/scrapers/mizrahi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scrapers/mizrahi.ts b/src/scrapers/mizrahi.ts index c5a63deb..788556a2 100644 --- a/src/scrapers/mizrahi.ts +++ b/src/scrapers/mizrahi.ts @@ -241,7 +241,7 @@ class MizrahiScraper extends BaseScraperWithBrowser return { accountNumber, txns: allTxn, - balance: +response.body.fields.Yitra, + balance: +response.body.fields?.Yitra, }; } }