diff --git a/src/pages/api/v1/browse/index.js b/src/pages/api/v1/browse/index.js index 7a0a29ee..e7939e2e 100644 --- a/src/pages/api/v1/browse/index.js +++ b/src/pages/api/v1/browse/index.js @@ -12,7 +12,7 @@ export async function GET() { const dictionary = await getCollection("dictionary"); const response = dictionary.map((word) => { return { - slug: word.slug, + slug: word.id, title: word.data.title, content: word.body, };