Open adelin-b opened 1 year ago
There is a bug on current version.
addNote will add the note to the default deck even if there a deckName
to circuvent around it we have to add the note, then use the id and move it to the correct deck.
You can see it being done here : https://github.com/debanjandhar12/Obsidian-Anki-Sync/blob/main/src/AnkiConnect.ts
I do not get that behavior.
Show the JSON being generated when you run your code, and some evidence that the note was generated in the wrong deck.
There is a bug on current version.
addNote will add the note to the default deck even if there a deckName
to circuvent around it we have to add the note, then use the id and move it to the correct deck.
You can see it being done here : https://github.com/debanjandhar12/Obsidian-Anki-Sync/blob/main/src/AnkiConnect.ts