fix: fix implicit any[] type for changelogRoutes array in sitemap generation function
This commit is contained in:
parent
4e79eb1afd
commit
4bcc99add8
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ export default async function sitemap() {
|
||||||
lastModified: new Date().toISOString().split("T")[0]
|
lastModified: new Date().toISOString().split("T")[0]
|
||||||
}));
|
}));
|
||||||
|
|
||||||
let changelogRoutes = [];
|
let changelogRoutes: any[] = [];
|
||||||
try {
|
try {
|
||||||
const client = await clientPromise;
|
const client = await clientPromise;
|
||||||
const db = client.db(process.env.MONGODB_DB);
|
const db = client.db(process.env.MONGODB_DB);
|
||||||
|
|
Loading…
Reference in a new issue