Hey there!
Does anybody know if there are any problems related to the deleteNotes action within the AnkiConnect API, since I get positive responses all the time but no changes to my cards are made.
This is a JavaScript example:
await fetch(‘url to localhost here’, {
method: ‘POST’,
headers: {
‘Content-Type’: ‘application/json’
},
body: JSON.stringify({
action: ‘deleteNotes’,
version: 6,
key: ‘key_$’,
params: {
notes: id
}
})
})
.catch(error => console.error(error));
Thanks,
Marcel