refactor: 💡 replace store.findAll with store.query (#2002)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11825
This commit is contained in:
1 parent
6ae3067dd9
commit
776c46f129
6 files changed
+5
-20
No files matched your search
@@ -35,7 +35,7 @@ export default class ScopesRoute extends Route {
|
||||
});
|
||||
// NOTE: In the absence of a `scope_id` query parameter, this endpoint is
|
||||
// expected to default to the global scope, thus returning org scopes.
|
||||
return this.store.findAll('scope').catch(() => A([]));
|
||||
return this.store.query('scope', {}).catch(() => A([]));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user