Ghost/ghost/admin/mirage/serializers/post-revision.js
Kevin Ansfield 36ba47604f Added Admin acceptance test for post revision restoration
ref https://linear.app/tryghost/issue/ENG-1078

- adds required setup for acceptance testing post revisions
- adds happy-path test for listing, previewing, and restoring a post revision
2024-06-04 20:16:19 +01:00

10 lines
155 B
JavaScript

import BaseSerializer from './application';
export default BaseSerializer.extend({
embed: true,
include() {
return ['author'];
}
});