open-nomad/ui/mirage/serializers/agent.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
287 B
JavaScript
Raw Normal View History

import ApplicationSerializer from './application';
export default ApplicationSerializer.extend({
keyForAttribute(str) {
if (str === 'config' || str === 'member') {
return str;
}
return ApplicationSerializer.prototype.keyForAttribute.apply(this, arguments);
},
});