Skip to content

Commit

Permalink
feat(flight-crawler): update message
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Dec 20, 2022
1 parent 974ac64 commit 1d3275c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions services/flight-crawler/src/crawl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ function makeMessage(job: Job): string {
// prettier-ignore
const resultListStr = job.resultList.length === 0 ? 'هیچ پروازی یافت نشد!'
: job.resultList.map((jobResult) => `
قیمت: ${jobResult.price.toLocaleString('en-US')}
ساعت: ${jobResult.time}
هواپیمایی ${jobResult.airline}
💰${jobResult.price.toLocaleString('en-US')}${jobResult.time} 💺${jobResult.seatCount} 🛫${jobResult.flightId}
`).join('');

return `
Expand Down

0 comments on commit 1d3275c

Please sign in to comment.