chore: remove unnecessary findall

This commit is contained in:
Randall Morey committed 2020-08-20 14:47:22 -04:00
1 parent da7a2e651a
commit 5aa3c1ceab
1 file changed
-6
@@ -12,12 +12,6 @@ export default class ScopesScopeProjectsProjectHostCatalogsHostCatalogRoute exte
*/
async model({ host_catalog_id }) {
const { id: scopeID } = this.modelFor('scopes.scope');
this.store.findAll('host-set', {
adapterOptions: {
scopeID,
hostCatalogID: host_catalog_id
}
})
return this.store.findRecord('host-catalog', host_catalog_id, {
adapterOptions: { scopeID },
});