mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 20:59:26 +00:00
fix shots
This commit is contained in:
@@ -26,8 +26,12 @@ export class GradesRepository {
|
||||
},
|
||||
update: {
|
||||
grade,
|
||||
shots: {
|
||||
increment: 1,
|
||||
card: {
|
||||
update: {
|
||||
shots: {
|
||||
increment: 1,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
create: {
|
||||
@@ -41,6 +45,7 @@ export class GradesRepository {
|
||||
card: {
|
||||
connect: {
|
||||
id: cardId,
|
||||
shots: 1,
|
||||
},
|
||||
},
|
||||
deck: {
|
||||
|
||||
Reference in New Issue
Block a user