open-vault/ui/app/serializers/replication-attributes.js

9 lines
216 B
JavaScript

import RESTSerializer from '@ember-data/serializer/rest';
import { decamelize } from '@ember/string';
export default RESTSerializer.extend({
keyForAttribute: function(attr) {
return decamelize(attr);
},
});