diff --git a/lib/routes/apple/appstore/in-app-purchase.js b/lib/routes/apple/appstore/in-app-purchase.js
index 6153adc61..cab5f2de8 100644
--- a/lib/routes/apple/appstore/in-app-purchase.js
+++ b/lib/routes/apple/appstore/in-app-purchase.js
@@ -35,22 +35,20 @@ module.exports = async (ctx) => {
let title;
let item = [];
- const iap = apiResponse.relationships['merchandised-in-apps'].data;
+ const iap = apiResponse.relationships['top-in-apps'].data;
if (iap) {
title = `${country === 'cn' ? '内购限免提醒' : 'IAP price watcher'}: ${titleTemp} for ${platform}`;
- item = iap
- .filter((e) => e.attributes.isMerchandisedEnabled)
- .map((e) => {
- const title = `${e.attributes.name} is now ${e.attributes.offers[0].priceFormatted}`;
- return {
- link,
- guid: e.attributes.url,
- description: e.attributes.description.standard,
- title,
- pubDate: new Date().toUTCString(),
- };
- });
+ item = iap.map((e) => {
+ const title = `${e.attributes.name} is now ${e.attributes.offers[0].priceFormatted}`;
+ return {
+ link,
+ guid: e.attributes.url,
+ description: e.attributes.description.standard + `
`,
+ title,
+ pubDate: new Date().toUTCString(),
+ };
+ });
}
ctx.state.data = {