Skip to content

Commit

Permalink
using MC02ErehTaaEZ fails to retrieve data as opposed to using MC02Pe…
Browse files Browse the repository at this point in the history
…ulaTaaEZ in both date fields
  • Loading branch information
simonlsk committed Nov 22, 2024
1 parent 3788ba5 commit 10e9efa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/scrapers/mizrahi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ interface ScrapedTransaction {
MC02KodGoremEZ: string;
MC02SugTnuaKaspitEZ: string;
MC02AgidEZ: string;
MC02ErehTaaEZ: string;
MC02SeifMaralEZ: string;
MC02NoseMaralEZ: string;
TransactionNumber: string;
Expand Down Expand Up @@ -161,7 +160,6 @@ function convertTransactions(txns: ScrapedTransaction[]): Transaction[] {

async function getTransactionExtraScrap(record: ScrapedTransaction, headers: Headers): Promise<ExtraTransactionResult> {
const formattedPeulaDate = moment(record.MC02PeulaTaaEZ).format(DATE_FORMAT);
// const formattedErechDate = moment(record.MC02ErehTaaEZ).format(DATE_FORMAT);
const data = {
inKodGorem: record.MC02KodGoremEZ,
inAsmachta: record.MC02AsmahtaMekoritEZ,
Expand Down

0 comments on commit 10e9efa

Please sign in to comment.