Minor changes
This commit is contained in:
@ -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)
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
export function unduplicateArray(array: any[]) {
|
export function unduplicateArray(array: any[]) {
|
||||||
return [...new Set(array.flat())]
|
return [...new Set(array.flat())]
|
||||||
}
|
}
|
||||||
|
@ -6,4 +6,4 @@ export function FlattenZoneArray(tiles: string[][]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return normalArray
|
return normalArray
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user