🎨 rename last_login to last_seen (#612)

refs https://github.com/TryGhost/Ghost/issues/8258
This commit is contained in:
Katharina Irrgang 2017-04-05 21:20:45 +02:00 committed by Hannah Wolfe
parent 9487ff9bae
commit f62ce41bc1

View File

@ -7,7 +7,7 @@ const {String: {pluralize}} = Ember;
export default ApplicationSerializer.extend(EmbeddedRecordsMixin, {
attrs: {
roles: {embedded: 'always'},
lastLoginUTC: {key: 'last_login'},
lastLoginUTC: {key: 'last_seen'},
createdAtUTC: {key: 'created_at'},
updatedAtUTC: {key: 'updated_at'}
},