mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-18 12:33:21 +00:00
fix learn endpoint
This commit is contained in:
@@ -22,9 +22,7 @@ export class GradesRepository {
|
||||
try {
|
||||
return await this.prisma.grade.upsert({
|
||||
where: {
|
||||
userId,
|
||||
cardId,
|
||||
deckId,
|
||||
},
|
||||
update: {
|
||||
grade,
|
||||
|
||||
Reference in New Issue
Block a user