Ghost/ghost/admin/mirage/serializers/post.js
Kevin Ansfield a0a0c50ff5 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

15 lines
258 B
JavaScript

import BaseSerializer from './application';
export default BaseSerializer.extend({
embed: true,
include(/*request*/) {
let includes = [];
includes.push('tags');
includes.push('authors');
return includes;
}
});