mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Improved API responses
This commit is contained in:
@ -31,8 +31,8 @@ App.Presenters.HistoryPresenter = function(
|
||||
baseUri: '#/history',
|
||||
backendUri: '/history',
|
||||
$target: $el.find('.pagination-target'),
|
||||
updateCallback: function($page, data) {
|
||||
renderHistory($page, data.entities);
|
||||
updateCallback: function($page, response) {
|
||||
renderHistory($page, response.json.history);
|
||||
},
|
||||
},
|
||||
function() {
|
||||
|
Reference in New Issue
Block a user