mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +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;
|
|
}
|
|
});
|