Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
f9ead1db1e
2 changed files with 3 additions and 1 deletions
|
@ -61,7 +61,8 @@ type Block struct {
|
|||
Created string `json:"created"`
|
||||
Updated string `json:"updated"`
|
||||
|
||||
RiffCardID string `json:"riffCardID"`
|
||||
RiffCardID string `json:"riffCardID"`
|
||||
RiffCardReps uint64 `json:"riffCardReps"`
|
||||
}
|
||||
|
||||
func (block *Block) IsContainerBlock() bool {
|
||||
|
|
|
@ -178,6 +178,7 @@ func getCardsBlocks(cards []riff.Card, page int) (blocks []*Block, total, pageCo
|
|||
}
|
||||
|
||||
b.RiffCardID = cards[i].ID()
|
||||
b.RiffCardReps = cards[i].(*riff.FSRSCard).C.Reps
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue