mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
api cache
This commit is contained in:
@@ -3,6 +3,7 @@ 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