open-nomad/ui/mirage/serializers/region.js
2018-08-09 19:57:21 -07:00

9 lines
244 B
JavaScript

import ApplicationSerializer from './application';
export default ApplicationSerializer.extend({
serialize() {
var json = ApplicationSerializer.prototype.serialize.apply(this, arguments);
return [].concat(json).mapBy('ID');
},
});