mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
api data transformation
This commit is contained in:
@@ -3,7 +3,6 @@ import { Db } from "mongodb";
|
||||
/**
|
||||
* Converts date from string into a date to allow ordering
|
||||
*/
|
||||
// TODO remove the .toArray method as this is not SRP friendly
|
||||
export const dateOrderingFrance = async (db: Db) => {
|
||||
return await db
|
||||
.collection("tournaments")
|
||||
|
||||
Reference in New Issue
Block a user