mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
scroll to top bug fix
This commit is contained in:
@@ -16,7 +16,7 @@ export async function GET() {
|
||||
const db = client.db("tournamentsFranceDB");
|
||||
|
||||
const results = await dateOrderingFrance(db);
|
||||
const data = results.map(({ _id, __v, ...rest }) => ({
|
||||
const data = results.map(({ _id, ...rest }) => ({
|
||||
id: _id,
|
||||
...rest,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user