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,
minCardsCount,
maxCardsCount,
orderBy,
orderBy = 'updated-desc',
}: GetAllDecksDto): Promise<PaginatedDecks> {
try {
const where = {