docs: Fix typo in generate-sitemaps.mdx docs (#59964)
This commit is contained in:
parent
fc25fcef3e
commit
6a23987282
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ export default async function sitemap({
|
|||
`SELECT id, date FROM products WHERE id BETWEEN ${start} AND ${end}`
|
||||
)
|
||||
return products.map((product) => ({
|
||||
url: `${BASE_URL}/product/${id}`
|
||||
url: `${BASE_URL}/product/${product.id}`
|
||||
lastModified: product.date,
|
||||
}))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue