1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/adapters/page.js
Kevin Ansfield 3cf7912ab0 Removed use of ?include=tags,authors,authors.roles query param on post/page requests
no issue
- Admin API v2 now includes tags and authors by default
2019-02-25 21:55:55 +07:00

13 lines
403 B
JavaScript

import ApplicationAdapter from 'ghost-admin/adapters/application';
export default ApplicationAdapter.extend({
// posts and pages now include everything by default
buildIncludeURL(store, modelName, id, snapshot, requestType, query) {
return this.buildURL(modelName, id, snapshot, requestType, query);
},
buildQuery(store, modelName, options) {
return options;
}
});