docs: Fix typo in generate-sitemaps.mdx docs (#59964)

This commit is contained in:
ash2048 2023-12-27 16:40:51 +00:00 committed by GitHub
parent fc25fcef3e
commit 6a23987282
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
}))
}