fix: fix implicit any[] type for changelogRoutes array in sitemap generation function

This commit is contained in:
Dorian Niemiec 2024-09-07 22:08:35 +02:00
parent 4e79eb1afd
commit 4bcc99add8

View file

@ -26,7 +26,7 @@ export default async function sitemap() {
lastModified: new Date().toISOString().split("T")[0]
}));
let changelogRoutes = [];
let changelogRoutes: any[] = [];
try {
const client = await clientPromise;
const db = client.db(process.env.MONGODB_DB);