fix learn endpoint

This commit is contained in:
2023-07-21 16:44:18 +02:00
parent 5fdd8b5bb1
commit a943838622
8 changed files with 72 additions and 9 deletions

View File

@@ -22,9 +22,7 @@ export class GradesRepository {
try {
return await this.prisma.grade.upsert({
where: {
userId,
cardId,
deckId,
},
update: {
grade,