Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Support resetting the learning progress of flashcards https://github.com/siyuan-note/siyuan/issues/9564

Daniel259606e99556
diff --git a/kernel/model/flashcard.go b/kernel/model/flashcard.go
index 21b377a6d6..7e6b695f2a 100644
--- a/kernel/model/flashcard.go
+++ b/kernel/model/flashcard.go
@@ -43,7 +43,7 @@ func ResetFlashcards(typ, id, deckID string, blockIDs []string) {
// Support resetting the learning progress of flashcards https://github.com/siyuan-note/siyuan/issues/9564
if 0 < len(blockIDs) {
- resetFlashcards(id, blockIDs)
+ resetFlashcards(deckID, blockIDs)
return
}