mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
f73837fba3
refs d40740b0ec
- dropped use of `@classic` for auto-converted classes
- switched remaining EmberObject serializers to native classes
10 lines
297 B
JavaScript
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'}
|
|
}
|
|
}
|