diff --git a/helpers/api/pagination.js b/helpers/api/pagination.js index 5ca0c3a..e870e78 100644 --- a/helpers/api/pagination.js +++ b/helpers/api/pagination.js @@ -27,7 +27,9 @@ export class PaginatedList { return { number: pageNumber, items, - json: JSON.stringify( items ) + get json() { + return JSON.stringify( items ) + } } }