Joplin.data.delete Bug or my error?

@laurent

I try to delete a tag with the following code:

await joplin.data.delete(
  ["tags", tag_id, "notes", note_id]
);

I get the following error message: Error: Path must have no more than 3 elements
But from the API /tags/:id/notes/:note_id is the path?

With the following code I get Error: Missing note ID

await joplin.data.delete(
  ["tags", tag_id, "notes"],
  note_id
);

What is the error in my call?

Regards
Alex

Looks like a bug. The max number of elements should be 4, and not 3.