mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
unifying API paths to lower-case
This commit is contained in:
@@ -141,7 +141,7 @@ const protected_session = (function() {
|
||||
async function protectSubTree(noteId, protect) {
|
||||
await ensureProtectedSession(true, true);
|
||||
|
||||
await server.put('tree/' + noteId + "/protectSubTree/" + (protect ? 1 : 0));
|
||||
await server.put('tree/' + noteId + "/protect-sub-tree/" + (protect ? 1 : 0));
|
||||
|
||||
showMessage("Request to un/protect sub tree has finished successfully");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user