Files
threshold-ui/addons/api/mirage/serializers/managed-group.js
T

14 lines
331 B
JavaScript
Raw Normal View History

2021-10-29 13:23:41 -07:00
import ApplicationSerializer from './application';
export default ApplicationSerializer.extend({
modelName: 'managed-group',
_hashForModel(model) {
const json = ApplicationSerializer.prototype._hashForModel.apply(
this,
arguments
);
json.auth_method_id = model.authMethodId;
return json;
},
2021-10-29 13:23:41 -07:00
});