Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

addNote notes added to default despite having a deckname. #385

Open
adelin-b opened this issue May 23, 2023 · 1 comment
Open

addNote notes added to default despite having a deckname. #385

adelin-b opened this issue May 23, 2023 · 1 comment

Comments

@adelin-b
Copy link

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

@snoyes
Copy link
Contributor

snoyes commented Sep 5, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants