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
@@ -106,16 +106,6 @@ export default class ApplicationAdapter extends RESTAdapter.extend(
|
||||
return dasherize(pluralize(type));
|
||||
}
|
||||
|
||||
/**
|
||||
* Intercepts "empty" responses and adds an empty `items` array.
|
||||
* @override
|
||||
* @method findAll
|
||||
* @return {Promise} promise
|
||||
*/
|
||||
findAll() {
|
||||
return super.findAll(...arguments).then(prenormalizeArrayResponse);
|
||||
}
|
||||
|
||||
/**
|
||||
* Intercepts "empty" responses and adds an empty `items` array.
|
||||
* This query method now supports pagination by checking the responseType and
|
||||
|
||||
Reference in new issue
Block a user