diff --git a/lib/routes/atfd/index.js b/lib/routes/atfd/index.js
index 7954e5649..21fac0c14 100644
--- a/lib/routes/atfd/index.js
+++ b/lib/routes/atfd/index.js
@@ -36,13 +36,7 @@ module.exports = async (ctx) => {
description: 'All the Flight Deals',
item: data.map((item) => ({
title: `[${item.dateRanges[0] ? dayjs(item.dateRanges[0].start).format('YYYY MMM DD') + ' to ' + dayjs(item.dateRanges[0].end).format('YYYY MMM DD') : ''}] ${item.title}`,
- description: `
| From | To | Price |
|---|
| ${
- item.cityPairs[0].origin.iata
- }, ${item.cityPairs[0].origin.city}, ${item.cityPairs[0].origin.countryName} | ${item.cityPairs[0].destination.iata}, ${item.cityPairs[0].destination.city}, ${
- item.cityPairs[0].destination.countryName
- } | ${item.currency} ${item.price} |
`,
+ description: `
| From | To | Price |
|---|
| ${item.cityPairs[0].origin.iata}, ${item.cityPairs[0].origin.city}, ${item.cityPairs[0].origin.countryName} | ${item.cityPairs[0].destination.iata}, ${item.cityPairs[0].destination.city}, ${item.cityPairs[0].destination.countryName} | ${item.currency} ${item.price} |
`,
pubDate: new Date(item.createdAt),
guid: item.id,
link: item.url,
diff --git a/package.json b/package.json
index e74092a2f..69f74a080 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,7 @@
"nock": "11.0.0-beta.17",
"nodemon": "1.19.1",
"pinyin": "2.9.0",
- "prettier": "1.17.1",
+ "prettier": "1.18.2",
"prettier-check": "2.0.0",
"pretty-quick": "1.11.0",
"supertest": "4.0.2",
diff --git a/yarn.lock b/yarn.lock
index af595fce8..e1dc6e296 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -8022,10 +8022,10 @@ prettier@1.16.3:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.3.tgz#8c62168453badef702f34b45b6ee899574a6a65d"
integrity sha512-kn/GU6SMRYPxUakNXhpP0EedT/KmaPzr0H5lIsDogrykbaxOpOfAFfk5XA7DZrJyMAv1wlMV3CPcZruGXVVUZw==
-prettier@1.17.1:
- version "1.17.1"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.17.1.tgz#ed64b4e93e370cb8a25b9ef7fef3e4fd1c0995db"
- integrity sha512-TzGRNvuUSmPgwivDqkZ9tM/qTGW9hqDKWOE9YHiyQdixlKbv7kvEqsmDPrcHJTKwthU774TQwZXVtaQ/mMsvjg==
+prettier@1.18.2:
+ version "1.18.2"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
+ integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
pretty-bytes@^4.0.2:
version "4.0.2"