10 lines
271 B
JavaScript
10 lines
271 B
JavaScript
import ApplicationSerializer from './application';
|
|
|
|
export default ApplicationSerializer.extend({
|
|
normalize(typeHash, hash) {
|
|
hash.PlacedCanaryAllocations = hash.PlacedCanaries || [];
|
|
delete hash.PlacedCanaries;
|
|
return this._super(typeHash, hash);
|
|
},
|
|
});
|