mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 01:15:43 +03:00
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);
|
|
},
|
|
});
|