fix: remove further references to created column

This commit is contained in:
Mythie
2023-09-14 13:37:38 +10:00
parent 2e5d5bb462
commit 666d682536
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ export const findDocuments = async ({
},
});
const orderByColumn = orderBy?.column ?? 'created';
const orderByColumn = orderBy?.column ?? 'createdAt';
const orderByDirection = orderBy?.direction ?? 'desc';
const termFilters = !term