diff --git a/data/showcase.json b/data/showcase.json index 92922536..ebee73cf 100644 --- a/data/showcase.json +++ b/data/showcase.json @@ -13,5 +13,6 @@ 49392, 52186, 52055, 52282, 52270, 5825, 51351, 52233, 51308, 52388, 52280, 52718, 52951, 52103, 52314, 52336, 52816, 52766, 52760, 660, 52728, 52683, 51617, 53087, 53081, 52184, 43000, 53444, 53470, 50141, 52947, 51406, 53563, - 52800, 53637, 1361, 53518, 53584, 51803, 53387, 53731, 54169, 53657, 51540 + 52800, 53637, 1361, 53518, 53584, 51803, 53387, 53731, 54169, 53657, 51540, + 54050 ] diff --git a/data/topics.json b/data/topics.json index b1680158..fbfa3b50 100644 --- a/data/topics.json +++ b/data/topics.json @@ -327,6 +327,8 @@ "name": "Fiction", "description": "Experience a world of imagination through these fiction stories.", "notes": [ + "54050-7", + "54050-6", "51585-1", "51139-2", "48910-4", diff --git a/src/models/home.model.ts b/src/models/home.model.ts index cc6ac676..047f19cc 100644 --- a/src/models/home.model.ts +++ b/src/models/home.model.ts @@ -41,7 +41,9 @@ export async function getFeed({ const list = await Promise.all( result.list.map(async (page: any) => { - return await expandCrossbellNote(page, false, true) + const expand = await expandCrossbellNote(page, false, true) + delete expand.metadata?.content.content + return expand }), ) @@ -69,7 +71,9 @@ export async function getFeed({ const list = await Promise.all( result.list.map(async (page: any) => { - return await expandCrossbellNote(page) + const expand = await expandCrossbellNote(page) + delete expand.metadata?.content.content + return expand }), ) @@ -135,7 +139,9 @@ export async function getFeed({ const list = await Promise.all( result?.data?.notes.map(async (page: any) => { - return await expandCrossbellNote(page) + const expand = await expandCrossbellNote(page) + delete expand.metadata?.content.content + return expand }), ) @@ -199,7 +205,9 @@ export async function getFeed({ page.stat.viewDetailCount / Math.max(Math.log10(secondAgo), 1) } - return await expandCrossbellNote(page) + const expand = await expandCrossbellNote(page) + delete expand.metadata?.content.content + return expand }), ) @@ -231,7 +239,14 @@ export async function getFeed({ const list = await Promise.all( result.list.map(async (page: any) => { - return await expandCrossbellNote(page, false, false, searchKeyword) + const expand = await expandCrossbellNote( + page, + false, + false, + searchKeyword, + ) + delete expand.metadata?.content.content + return expand }), )