create folder
This commit is contained in:
parent
8ed55fe1e7
commit
07310cbc8f
4 changed files with 38 additions and 12 deletions
|
|
@ -29,6 +29,9 @@
|
|||
list: function() {
|
||||
return api('get', '/api/folders').then(json)
|
||||
},
|
||||
create: function(data) {
|
||||
return api('post', '/api/folders', data).then(json)
|
||||
},
|
||||
}
|
||||
}
|
||||
})()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue