fixed sorting

This commit is contained in:
2025-03-10 19:10:39 +05:30
parent 43881651f3
commit 065d1f3e71
8 changed files with 11 additions and 10 deletions

View File

@@ -35,6 +35,7 @@ export function getSortObject(
if (Object.keys(sortObj).length == 0) sortObj["createdAt"] = -1;
console.log(sortObj);
return sortObj;
}