add jsdocs to note.cloneTo, closes #2996

This commit is contained in:
zadam
2022-07-19 23:32:03 +02:00
parent 57c5b6d61f
commit 8f5983fa01
3 changed files with 156 additions and 2 deletions

View File

@@ -1200,6 +1200,10 @@ class Note extends AbstractEntity {
return this.searchNotesInSubtree(searchString)[0];
}
/**
* @param parentNoteId
* @returns {{success: boolean, message: string}}
*/
cloneTo(parentNoteId) {
const cloningService = require("../../services/cloning");