fix orderby

This commit is contained in:
2023-08-07 16:57:36 +02:00
parent b675c1adfb
commit f562d20145

View File

@@ -59,7 +59,7 @@ export class DecksRepository {
itemsPerPage, itemsPerPage,
minCardsCount, minCardsCount,
maxCardsCount, maxCardsCount,
orderBy, orderBy = 'updated-desc',
}: GetAllDecksDto): Promise<PaginatedDecks> { }: GetAllDecksDto): Promise<PaginatedDecks> {
try { try {
const where = { const where = {