refactor: Remove adapterOptions for a target route

This commit is contained in:
Susmitha Girumala committed 2020-09-11 11:08:51 -04:00
1 parent ecdf7ee498
commit 30d6a8fbc0
1 file changed
+1 -5
@@ -11,11 +11,7 @@ export default class ScopesScopeProjectsProjectTargetsTargetRoute extends Route
* @return {TargetModel}
*/
async model({ target_id }) {
const { id: scopeID } = this.modelFor('scopes.scope.projects.project');
return this.store.findRecord('target', target_id, {
reload: true,
adapterOptions: { scopeID }
});
return this.store.findRecord('target', target_id, { reload: true });
}
/**