unifying API paths to lower-case

This commit is contained in:
azivner
2017-12-01 22:47:23 -05:00
parent cba9d8b5c1
commit 0521deb304
5 changed files with 15 additions and 15 deletions

View File

@@ -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");