diff --git a/pages/api/search/[keyword].ts b/pages/api/search/[keyword].ts index 14d8de4..acd8967 100644 --- a/pages/api/search/[keyword].ts +++ b/pages/api/search/[keyword].ts @@ -18,6 +18,7 @@ export default function handler(req: NextApiRequest, res: NextApiResponse ({ id: item.id, title: item.title, + summary:item.summary, tags: item.tags, })); res.status(200).json(result);