import { ActiveModelSerializer } from 'ember-cli-mirage';

export default ActiveModelSerializer.extend({
  serialize() {
    let serialized = ActiveModelSerializer.prototype.serialize.apply(this, arguments);
    return { users: serialized.friendship_users };
  }
});
