mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-14 02:10:04 +00:00
server-side item sanitization
This commit is contained in:
@@ -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)
|
||||
},
|
||||
|
Reference in New Issue
Block a user