delete folder
This commit is contained in:
parent
07310cbc8f
commit
8499810bc8
4 changed files with 72 additions and 33 deletions
|
|
@ -32,6 +32,9 @@
|
|||
create: function(data) {
|
||||
return api('post', '/api/folders', data).then(json)
|
||||
},
|
||||
delete: function(id) {
|
||||
return api('delete', '/api/folders/' + id)
|
||||
},
|
||||
}
|
||||
}
|
||||
})()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue