mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-06 08:01:48 -05:00
20 lines
423 B
JavaScript
20 lines
423 B
JavaScript
let BaseModel;
|
|
|
|
function OrgAdminModel (method, resource, graft) {
|
|
BaseModel.call(this, {path: 'users', subPath: 'admin_of_organizations'});
|
|
|
|
this.Constructor = OrgAdminModel;
|
|
|
|
return this.create(method, resource, graft);
|
|
}
|
|
|
|
function OrgAdminModelLoader (_BaseModel_) {
|
|
BaseModel = _BaseModel_;
|
|
|
|
return OrgAdminModel;
|
|
}
|
|
|
|
OrgAdminModelLoader.$inject = ['BaseModel'];
|
|
|
|
export default OrgAdminModelLoader;
|