a0a0c50ff5
no issue - Admin API v2 now includes tags and authors by default
15 lines
258 B
JavaScript
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;
|
|
}
|
|
});
|