server-side item sanitization
This commit is contained in:
parent
493a4262b1
commit
3ae17171e2
6 changed files with 77 additions and 43 deletions
|
|
@ -71,6 +71,9 @@
|
|||
}
|
||||
},
|
||||
items: {
|
||||
get: function(id) {
|
||||
return api('get', './api/items/' + id).then(json)
|
||||
},
|
||||
list: function(query) {
|
||||
return api('get', './api/items' + param(query)).then(json)
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue