chore: 🤖 Do not set "type" for IAM when using scopeModel

This commit is contained in:
Susmitha Girumala committed 2020-07-30 11:32:34 -04:00
1 parent 4911f01d1d
commit b8c2770745
3 files changed
+3 -3

No files matched your search

@@ -9,6 +9,6 @@ export default class ScopesScopeGroupsNewRoute extends Route {
*/
model() {
const scopeModel = this.modelFor('scopes.scope');
return this.store.createRecord('group', { type: 'group', scopeModel });
return this.store.createRecord('group', { scopeModel });
}
}
+1 -1
View File
@@ -9,6 +9,6 @@ export default class ScopesScopeRolesNewRoute extends Route {
*/
model() {
const scopeModel = this.modelFor('scopes.scope');
return this.store.createRecord('role', { type: 'role', scopeModel });
return this.store.createRecord('role', { scopeModel });
}
}
+1 -1
View File
@@ -9,6 +9,6 @@ export default class ScopesScopeUsersNewRoute extends Route {
*/
model() {
const scopeModel = this.modelFor('scopes.scope');
return this.store.createRecord('user', { type: 'user', scopeModel });
return this.store.createRecord('user', { scopeModel });
}
}