mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 07:51:55 +03:00
f73837fba3
refs d40740b0ec
- dropped use of `@classic` for auto-converted classes
- switched remaining EmberObject serializers to native classes
11 lines
328 B
JavaScript
11 lines
328 B
JavaScript
/* eslint-disable camelcase */
|
|
import ApplicationSerializer from 'ghost-admin/serializers/application';
|
|
|
|
export default class EmailSerializer extends ApplicationSerializer {
|
|
attrs = {
|
|
createdAtUTC: {key: 'created_at'},
|
|
updatedAtUTC: {key: 'updated_at'},
|
|
submittedAtUTC: {key: 'submitted_at'}
|
|
}
|
|
}
|