mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
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;
|
|
}
|
|
});
|