Minor changes

This commit is contained in:
2024-10-28 23:41:54 +01:00
parent 8460d0b535
commit f6bac403a2
3 changed files with 4 additions and 4 deletions

View File

@ -79,7 +79,7 @@ async function addHttpRoutes(app: Application) {
} }
// Return the array // Return the array
res.json(tiles) res.json(assets)
}) })
/** /**
@ -114,7 +114,7 @@ async function addHttpRoutes(app: Application) {
} }
// Return the array // Return the array
res.json(tiles) res.json(assets)
}) })
/** /**

View File

@ -1,3 +1,3 @@
export function unduplicateArray(array: any[]) { export function unduplicateArray(array: any[]) {
return [...new Set(array.flat())] return [...new Set(array.flat())]
} }

View File

@ -6,4 +6,4 @@ export function FlattenZoneArray(tiles: string[][]) {
} }
return normalArray return normalArray
} }