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

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

13 lines
333 B
JavaScript
Raw Normal View History

import ApplicationSerializer from './application';
export default ApplicationSerializer.extend({
serializeIds: 'always',
keyForRelationshipIds(relationship) {
if (relationship === 'policies') {
return 'Policies';
}
return ApplicationSerializer.prototype.keyForRelationshipIds.apply(this, arguments);
},
});