mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
a0a0c50ff5
no issue - Admin API v2 now includes tags and authors by default
13 lines
403 B
JavaScript
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;
|
|
}
|
|
});
|