mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2026-01-02 20:59:27 +00:00
fix grades
This commit is contained in:
@@ -17,7 +17,7 @@ export class Card {
|
||||
}
|
||||
|
||||
export class PaginatedCards {
|
||||
items: Card[]
|
||||
items: Omit<Card, 'userId' | 'rating'>[]
|
||||
pagination: Pagination
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +111,6 @@ export class CardsRepository {
|
||||
grades: {
|
||||
where: {
|
||||
userId,
|
||||
deckId,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user