Unverified Commit c9cf8b95 authored by lhfmartin's avatar lhfmartin Committed by GitHub

Fix syntax error in the TypeScript example (#63003)

### What?
Missing comma to separate dict entries
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent c1d44502
......@@ -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/${product.id}`
url: `${BASE_URL}/product/${product.id}`,
lastModified: product.date,
}))
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment