create folder

This commit is contained in:
Nazar Kanaev
2020-07-02 17:47:14 +01:00
parent 8ed55fe1e7
commit 07310cbc8f
4 changed files with 38 additions and 12 deletions

View File

@@ -29,6 +29,9 @@
list: function() {
return api('get', '/api/folders').then(json)
},
create: function(data) {
return api('post', '/api/folders', data).then(json)
},
}
}
})()