mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 20:59:26 +00:00
fix orderby
This commit is contained in:
@@ -59,7 +59,7 @@ export class DecksRepository {
|
||||
itemsPerPage,
|
||||
minCardsCount,
|
||||
maxCardsCount,
|
||||
orderBy,
|
||||
orderBy = 'updated-desc',
|
||||
}: GetAllDecksDto): Promise<PaginatedDecks> {
|
||||
try {
|
||||
const where = {
|
||||
|
||||
Reference in New Issue
Block a user