Skip to content

Commit

Permalink
fix(flight-crawler): min&max hour in make message
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed Dec 22, 2022
1 parent 30116b6 commit a75f7a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/flight-crawler/src/crawl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ function makeMessage(job: Job): string {
تاریخ: ${job.detail.date}
حداکثر قیمت: ${job.detail.maxPrice ? job.detail.maxPrice.toLocaleString('en-US') : 'ندارد'}
تعداد صندلی: ${job.detail.seatCount}
فیلتر زمانی: ${job.detail.maxPrice ? `بین ${job.detail.minHour} و ${job.detail.maxPrice}` : 'ندارد' }
${resultListStr}
`.replaceAll(' ', '');
Expand Down

0 comments on commit a75f7a0

Please sign in to comment.