Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
import ApplicationSerializer from './application';
import classic from 'ember-classic-decorator';
@classic
export default class RescheduleEvent extends ApplicationSerializer {
separateNanos = ['Time'];
normalize(typeHash, hash) {
hash.PreviousAllocationId = hash.PrevAllocID ? hash.PrevAllocID : null;
hash.PreviousNodeId = hash.PrevNodeID ? hash.PrevNodeID : null;
return super.normalize(typeHash, hash);
}