Ghost/ghost/admin/app/serializers/api-key.js
Kevin Ansfield f73837fba3 Finalized migration of serializers to native class syntax
refs d40740b0ec

- dropped use of `@classic` for auto-converted classes
- switched remaining EmberObject serializers to native classes
2022-02-02 18:35:18 +00:00

10 lines
297 B
JavaScript

import ApplicationSerializer from 'ghost-admin/serializers/application';
export default class ApiKeySerializer extends ApplicationSerializer {
attrs = {
lastSeenAtUTC: {key: 'last_seen_at'},
createdAtUTC: {key: 'created_at'},
updatedAtUTC: {key: 'updated_at'}
}
}